]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
fixed typo
authorScottDowne <sdowne@learn.senecac.on.ca>
Tue, 26 Jul 2011 22:42:33 +0000 (18:42 -0400)
committerScottDowne <sdowne@learn.senecac.on.ca>
Tue, 26 Jul 2011 22:42:33 +0000 (18:42 -0400)
plugins/mustache/popcorn.mustache.js

index d54af2d507e3843ff1a06882a4bda78ff1263b9d..5d708c733560f930e6bf0d435aabf9164d95a557 100755 (executable)
     } else if ( typeOfData === 'object' ) {
       data = options.data;
     } else if ( Popcorn.plugin.debug ) {
-      thros new Error( 'Mustache Plugin Error: options.data must be a String, Object, or Function.' );
+      throw new Error( 'Mustache Plugin Error: options.data must be a String, Object, or Function.' );
     } else {
       data = "";
     }