]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
jslint doesn't like us to use a keyword as a property name
authorDaniel Brooks <db48x@db48x.net>
Wed, 30 Mar 2011 15:35:32 +0000 (10:35 -0500)
committerDaniel Brooks <db48x@db48x.net>
Wed, 30 Mar 2011 15:35:32 +0000 (10:35 -0500)
popcorn.js

index f55c025b57300640193d353f44aa665f2174a8f8..338c6dff6b7d3169b63c4563991fc46b06356950 100644 (file)
 
     //  Push into the registry
     var entry = {
-      function: plugin[ name ],
+      fn: plugin[ name ],
       definition: definition,
       base_definition: definition,
       parents: [],