Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/grunt
diff options
context:
space:
mode:
authorChris Rebert <code@rebertia.com>2014-12-30 04:00:04 +0300
committerChris Rebert <code@rebertia.com>2014-12-30 04:00:44 +0300
commit57a64be74970a6652b65168ebc7dd88c7f9093d8 (patch)
tree6dd25d92f22e0442561edffb97256b0e7eb774f6 /grunt
parent96e108f2b27a5a7f6ffc72dfd083171d07c8aa70 (diff)
Minor fix to Glyphicons data generator
Diffstat (limited to 'grunt')
-rw-r--r--grunt/bs-glyphicons-data-generator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/grunt/bs-glyphicons-data-generator.js b/grunt/bs-glyphicons-data-generator.js
index 82dc727b6f..339fd0ffed 100644
--- a/grunt/bs-glyphicons-data-generator.js
+++ b/grunt/bs-glyphicons-data-generator.js
@@ -14,7 +14,7 @@ module.exports = function generateGlyphiconsData(grunt) {
var glyphiconsLines = glyphiconsFile.split('\n');
// Use any line that starts with ".glyphicon-" and capture the class name
- var iconClassName = /^\.(glyphicon-[^\s]+)/;
+ var iconClassName = /^\.(glyphicon-[a-zA-Z0-9-]+)/;
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';
var glyphiconsYml = 'docs/_data/glyphicons.yml';