1+ 'use strict' ;
2+
13var fs = require ( 'fs' ) ,
24 path = require ( 'path' ) ,
35 through = require ( 'through2' ) ,
@@ -18,7 +20,6 @@ var fs = require('fs'),
1820 * @returns {boolean } True on valid node and valid match, else false
1921 */
2022function isLiteralAST ( node ) {
21- 'use strict' ;
2223 var candidates = Array . prototype . slice . call ( arguments , 1 ) ;
2324 return ( node ) && ( node . type === 'Literal' ) && candidates . some ( function ( candidate ) {
2425 return ( node . value === candidate )
@@ -33,7 +34,6 @@ function isLiteralAST(node) {
3334 * @returns {boolean } True on valid node and valid match, else false
3435 */
3536function isMethodAST ( node ) {
36- 'use strict' ;
3737 var candidates = Array . prototype . slice . call ( arguments , 1 ) ;
3838 var result = ( node ) && ( node . type === 'CallExpression' ) && ( node . callee ) && candidates . some ( function ( candidate ) {
3939 var callee = node . callee ;
@@ -49,7 +49,6 @@ function isMethodAST(node) {
4949 * @return A jasmine transform
5050 */
5151function jasmineTransform ( symbol ) {
52- 'use strict' ;
5352 return transformTools . makeFalafelTransform ( 'jasmineTransform' , null , function ( node , options , done ) {
5453 var isValid = isLiteralAST ( node , symbol ) && isMethodAST ( node . parent , 'describe' , 'module' ) ;
5554 if ( isValid ) {
@@ -67,7 +66,6 @@ function jasmineTransform(symbol) {
6766 * @returns {stream.Through } A through stream that performs the operation of a gulp stream
6867 */
6968function compile ( bannerWidth , transforms ) {
70- 'use strict' ;
7169 var output = [ ] ;
7270
7371 /**
@@ -128,7 +126,6 @@ function compile(bannerWidth, transforms) {
128126 // Simulate bower components (and optionally current project) as node modules that may be require()'d
129127 var anonymised = trackFilenames ( ) . create ( ) ;
130128 function requireTransform ( allowProjectRelative ) {
131- 'use strict' ;
132129 var BOWER = path . relative ( process . cwd ( ) , bowerDir . sync ( ) ) ;
133130 return transformTools . makeRequireTransform ( 'requireTransform' , null , function ( args , opts , done ) {
134131
0 commit comments