Skip to content

Commit 6f9e3f0

Browse files
committed
Fix typo.
1 parent 864a18f commit 6f9e3f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

grunt/bs-glyphicons-data-generator.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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 = /^\.(glyphicon-[^\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';

0 commit comments

Comments
 (0)