]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
Added Popcorn.destroy method. [#723]
authorChristopher De Cairos <chris.decairos@gmail.com>
Thu, 22 Sep 2011 19:33:50 +0000 (15:33 -0400)
committerChristopher De Cairos <chris.decairos@gmail.com>
Thu, 22 Sep 2011 19:33:50 +0000 (15:33 -0400)
1  2 
popcorn.js

diff --cc popcorn.js
index 16f3e7570c8b09f55ff9d928535fa4df8ddb4433,d1e0f37a523560631f99b2ee15a43c11f57fcdf7..9dcf7b72a3c9d0d0c52562ca8e04ddb265b17094
@@@ -4,7 -4,8 +4,7 @@@
    if ( !document.addEventListener ) {
      global.Popcorn = {};
  
-     var methods = ( "forEach extend effects error guid sizeOf isArray nop position disable enable " +
 -    var methods = ( "removeInstance addInstance getInstanceById removeInstanceById " +
 -          "forEach extend effects error guid sizeOf isArray nop position disable enable destroy " +
++    var methods = ( "forEach extend effects error guid sizeOf isArray nop position disable enable destroy " +
            "addTrackEvent removeTrackEvent getTrackEvents getTrackEvent getLastTrackEventId " +
            "timeUpdate plugin removePlugin compose effect parser xhr getJSONP getScript" ).split(/\s+/);