Skip to content

Commit 4078c90

Browse files
fix(lib): add missing 'use strict' statement
1 parent 7544694 commit 4078c90

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

lib/escape.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
/**
24
* @description Replace String based on RegExp
35
*

lib/loops.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict'
2+
13
/**
24
* @description Given a "loop" parameter from an "each" tag, parses out the param names and expression to be looped.
35
*

lib/tags.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
'use strict'
2+
13
/**
2-
* @description Get the nect tag from a node list
4+
* @description Get the next tag from a node list
35
*
46
* @method getNextTag
57
*
68
* @param {Array} nodes Nodes
79
* @param {Number} i Accumulator
810
*
9-
* @return {Array} [] Array containing the next tag in nodes
11+
* @return {Array} [] Array containing the next tag
1012
*/
1113
function getNextTag (nodes, i) {
1214
// loop until we get the next tag (bypassing newlines etc)

0 commit comments

Comments
 (0)