Skip to content

Instantly share code, notes, and snippets.

@rubymerchant
Created March 25, 2011 02:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubymerchant/886263 to your computer and use it in GitHub Desktop.
Save rubymerchant/886263 to your computer and use it in GitHub Desktop.
//Following fails with zmobie.js. fix is to set Prototype.BrowserFeatures.SpecificElementExtensions = false;
if (F.SpecificElementExtensions) {
for (var tag in Element.Methods.ByTag) {
var klass = findDOMClass(tag);
if (Object.isUndefined(klass)) continue;
copy(T[tag], klass.prototype);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment