Permalink
Browse files

Change forDocument function creation to workaround shrinksafe compres…

…sion bug.
  • Loading branch information...
1 parent 0cb1426 commit 4550ee50b1bb1d10b05fbb58476a5b731344f134 @kriszyp kriszyp committed Feb 1, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 put.js
View
4 put.js
@@ -1,6 +1,6 @@
(function(define){
-var fragmentFasterHeuristic = /[-+,> ]/; // if it has any of these combinators, it is probably going to be faster with a document fragment
-define([], function forDocument(doc, newFragmentFasterHeuristic){
+var forDocument, fragmentFasterHeuristic = /[-+,> ]/; // if it has any of these combinators, it is probably going to be faster with a document fragment
+define([], forDocument = function(doc, newFragmentFasterHeuristic){
"use strict";
// module:
// put-selector/put

0 comments on commit 4550ee5

Please sign in to comment.