Correct variable declaration order.

Former-commit-id: 5f5a36057b065799dcc05b0054a2c88f00fad8c0
This commit is contained in:
John-David Dalton
2012-07-02 03:43:01 -04:00
parent 10fbc8a04b
commit 90e2bd0372
2 changed files with 28 additions and 28 deletions

View File

@@ -75,15 +75,6 @@
/** Used to store tokenized template text snippets */
var tokenized = [];
/* Detect if `Function#bind` exists and is inferred to be fast (i.e. all but V8) */
var useNativeBind = nativeBind && /\n|Opera/.test(nativeBind + toString.call(window.opera));
/** Detect if sourceURL syntax is usable without erroring */
try {
// Adobe's and Narwhal's JS engines will error
var useSourceURL = (Function('//@')(), true);
} catch(e){ }
/** Native method shortcuts */
var concat = ArrayProto.concat,
hasOwnProperty = ObjectProto.hasOwnProperty,
@@ -110,6 +101,15 @@
var clearTimeout = window.clearTimeout,
setTimeout = window.setTimeout;
/* Detect if `Function#bind` exists and is inferred to be fast (i.e. all but V8) */
var useNativeBind = nativeBind && /\n|Opera/.test(nativeBind + toString.call(window.opera));
/** Detect if sourceURL syntax is usable without erroring */
try {
// Adobe's and Narwhal's JS engines will error
var useSourceURL = (Function('//@')(), true);
} catch(e){ }
/**
* Used to escape characters for inclusion in HTML.
* The `>` and `/` characters don't require escaping in HTML and have no