Skip to content
This repository has been archived by the owner on Sep 20, 2019. It is now read-only.

Commit

Permalink
remove predeclaration of property and move comment to top
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemac53 committed Dec 3, 2014
1 parent ec71664 commit c2465dd
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/ShadowDOM/wrappers/DOMTokenList.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/


// NOTE: Set the 'ownerElement_' property on a DOMTokenList to make invalidation
// happen. This is pretty hacky but we only have to do it in one place
// (Element.js) currently so it seems like the least bad option.
(function(scope) {
'use strict';

Expand All @@ -34,8 +37,4 @@
return rv;
};

// Set this property to make invalidation happen. This is pretty hacky but we
// only have to do it in one place (Element.js) currently so it seems like the
// least bad option.
DOMTokenList.prototype.ownerElement_;
})(window.ShadowDOMPolyfill);

0 comments on commit c2465dd

Please sign in to comment.