File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ module.exports = function generateGlyphiconsData() {
1111 // Pass encoding, utf8, so `readFileSync` will return a string instead of a
1212 // buffer
1313 var glyphiconsFile = fs . readFileSync ( 'less/glyphicons.less' , 'utf8' ) ;
14- var glpyhiconsLines = glyphiconsFile . split ( '\n' ) ;
14+ var glyphiconsLines = glyphiconsFile . split ( '\n' ) ;
1515
1616 // Use any line that starts with ".glyphicon-" and capture the class name
1717 var iconClassName = / ^ \. ( g l y p h i c o n - [ ^ \s ] + ) / ;
1818 var glyphiconsData = '# This file is generated via Grunt task. **Do not edit directly.**\n' +
1919 '# See the \'build-glyphicons-data\' task in Gruntfile.js.\n\n' ;
20- for ( var i = 0 , len = glpyhiconsLines . length ; i < len ; i ++ ) {
21- var match = glpyhiconsLines [ i ] . match ( iconClassName ) ;
20+ for ( var i = 0 , len = glyphiconsLines . length ; i < len ; i ++ ) {
21+ var match = glyphiconsLines [ i ] . match ( iconClassName ) ;
2222
2323 if ( match !== null ) {
2424 glyphiconsData += '- ' + match [ 1 ] + '\n' ;
You can’t perform that action at this time.
0 commit comments