diff --git a/src/processing/script/header.js b/src/processing/script/header.js index 956f018f3..5f32d0431 100644 --- a/src/processing/script/header.js +++ b/src/processing/script/header.js @@ -22,7 +22,8 @@ const HEADER = [ `${ INSTRUCTION.getProperty }=__w$?__w$.${ INSTRUCTION.getProperty }:function(o,p){return o[p]},`, `${ INSTRUCTION.callMethod }=__w$?__w$.${ INSTRUCTION.callMethod }:function(o,p,a){return o[p].apply(o,a)},`, `${ INSTRUCTION.getEval }=__w$?__w$.${ INSTRUCTION.getEval }:function(e){return e},`, - `${ INSTRUCTION.processScript }=__w$?__w$.${ INSTRUCTION.processScript }:function(s){return s};`, + `${ INSTRUCTION.processScript }=__w$?__w$.${ INSTRUCTION.processScript }:function(s){return s},`, + `${ INSTRUCTION.getStorage }=__w$?__w$.${ INSTRUCTION.getStorage }:function(s){return s};`, SCRIPT_PROCESSING_END_HEADER_COMMENT, '\n' ].join(''); diff --git a/test/server/data/page/expected.html b/test/server/data/page/expected.html index d4f9efd7f..2174dfd5f 100644 --- a/test/server/data/page/expected.html +++ b/test/server/data/page/expected.html @@ -38,18 +38,18 @@ diff --git a/test/server/data/script/expected.js b/test/server/data/script/expected.js index 5ba3886ec..7f4629fe8 100644 --- a/test/server/data/script/expected.js +++ b/test/server/data/script/expected.js @@ -1,4 +1,4 @@ -/*hammerhead|script|start*/var __w$= typeof window!=="undefined"&&window;__w$ && __w$["hammerhead|process-dom-method"] && __w$["hammerhead|process-dom-method"]();var __get$Loc=__w$?__w$.__get$Loc:function(l){return l},__set$Loc=__w$?__w$.__set$Loc:function(l,v){return l = v},__set$=__w$?__w$.__set$:function(o,p,v){return o[p] = v},__get$=__w$?__w$.__get$:function(o,p){return o[p]},__call$=__w$?__w$.__call$:function(o,p,a){return o[p].apply(o,a)},__get$Eval=__w$?__w$.__get$Eval:function(e){return e},__proc$Script=__w$?__w$.__proc$Script:function(s){return s};/*hammerhead|script|processing-header-end*/ +/*hammerhead|script|start*/var __w$= typeof window!=="undefined"&&window;__w$ && __w$["hammerhead|process-dom-method"] && __w$["hammerhead|process-dom-method"]();var __get$Loc=__w$?__w$.__get$Loc:function(l){return l},__set$Loc=__w$?__w$.__set$Loc:function(l,v){return l = v},__set$=__w$?__w$.__set$:function(o,p,v){return o[p] = v},__get$=__w$?__w$.__get$:function(o,p){return o[p]},__call$=__w$?__w$.__call$:function(o,p,a){return o[p].apply(o,a)},__get$Eval=__w$?__w$.__get$Eval:function(e){return e},__proc$Script=__w$?__w$.__proc$Script:function(s){return s},__get$Storage=__w$?__w$.__get$Storage:function(s){return s};/*hammerhead|script|processing-header-end*/ // fragment of the jQuery v1.4.1 function liveHandler( event ) { var stop, elems = [], selectors = [], args = arguments,