File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ var EOL = require('os').EOL,
1616 *
1717 * @param {Object } [options] Options
1818 * @param {String } [options.target='?.bem-xjst.js'] Path to a target with compiled file.
19- * @param {Boolean } [options.strictMode=false] Enable strict mode. Adds "'use strict';" string to start of file
19+ * @param {Boolean } [options.strictMode=false] Enable strict mode.
20+ * Adds "'use strict';" string to start of file
2021 */
2122module . exports = buildFlow . create ( )
2223 . name ( 'bem-xjst' )
@@ -138,10 +139,11 @@ module.exports = buildFlow.create()
138139 ' };' ,
139140 '});'
140141 ] . join ( EOL ) ,
141- bundle = require ( '../lib/bundle' ) ;
142+ bundle = require ( '../lib/bundle' ) ,
143+ result ;
142144
143145 // Compiles source code using BEMXJST processor.
144- var result = queue
146+ result = queue
145147 . push ( compilerFilename , codeToCompile , compilerOptions )
146148 . then ( function ( compiledCode ) {
147149 // Wraps compiled code for usage with different modular systems.
You can’t perform that action at this time.
0 commit comments