Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
57a64be7
Commit
57a64be7
authored
10 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
Minor fix to Glyphicons data generator
parent
96e108f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
grunt/bs-glyphicons-data-generator.js
+1
-1
grunt/bs-glyphicons-data-generator.js
with
1 addition
and
1 deletion
+1
-1
grunt/bs-glyphicons-data-generator.js
+
1
-
1
View file @
57a64be7
...
...
@@ -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
'
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment