aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2014-03-07 13:25:59 +0200
committerXhmikosR <[email protected]>2014-03-07 13:25:59 +0200
commit6f9e3f0d23071dad82f0acf942b01d2d79455a6d (patch)
treedd4b091528dae8895b2c753aea6f6fb8adefcdb8
parent864a18f95e29f7573c658df5869ccaa5aba4c46f (diff)
downloadbootstrap-6f9e3f0d23071dad82f0acf942b01d2d79455a6d.tar.xz
bootstrap-6f9e3f0d23071dad82f0acf942b01d2d79455a6d.zip
Fix typo.
-rw-r--r--grunt/bs-glyphicons-data-generator.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/grunt/bs-glyphicons-data-generator.js b/grunt/bs-glyphicons-data-generator.js
index 16a0ca2ad..b71194367 100644
--- a/grunt/bs-glyphicons-data-generator.js
+++ b/grunt/bs-glyphicons-data-generator.js
@@ -11,14 +11,14 @@ module.exports = function generateGlyphiconsData() {
// Pass encoding, utf8, so `readFileSync` will return a string instead of a
// buffer
var glyphiconsFile = fs.readFileSync('less/glyphicons.less', 'utf8');
- var glpyhiconsLines = glyphiconsFile.split('\n');
+ var glyphiconsLines = glyphiconsFile.split('\n');
// Use any line that starts with ".glyphicon-" and capture the class name
var iconClassName = /^\.(glyphicon-[^\s]+)/;
var glyphiconsData = '# This file is generated via Grunt task. **Do not edit directly.**\n' +
'# See the \'build-glyphicons-data\' task in Gruntfile.js.\n\n';
- for (var i = 0, len = glpyhiconsLines.length; i < len; i++) {
- var match = glpyhiconsLines[i].match(iconClassName);
+ for (var i = 0, len = glyphiconsLines.length; i < len; i++) {
+ var match = glyphiconsLines[i].match(iconClassName);
if (match !== null) {
glyphiconsData += '- ' + match[1] + '\n';