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
ec13eb8d
Commit
ec13eb8d
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Remove timestamp on generated Glyhpicons
parent
7ccb0333
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Gruntfile.js
+2
-3
Gruntfile.js
_data/glyphicons.yml
+2
-3
_data/glyphicons.yml
with
4 additions
and
6 deletions
+4
-6
Gruntfile.js
+
2
-
3
View file @
ec13eb8d
...
@@ -316,9 +316,8 @@ module.exports = function (grunt) {
...
@@ -316,9 +316,8 @@ module.exports = function (grunt) {
// Use any line that starts with ".glyphicon-" and capture the class name
// Use any line that starts with ".glyphicon-" and capture the class name
var
iconClassName
=
/^
\.(
glyphicon-
[^\s]
+
)
/
var
iconClassName
=
/^
\.(
glyphicon-
[^\s]
+
)
/
var
glyphiconsData
=
'
# Generated on
'
+
(
new
Date
())
+
'
\n
'
+
var
glyphiconsData
=
'
# This file is generated via Grunt task. **Do not edit directly.**
\n
'
+
'
# **Don
\'
t edit this directly!**
\n
'
+
'
# See the
\'
build-glyphicons-data
\'
task in Gruntfile.js.
\n\n
'
;
'
# Look at the
\'
build-glyphicons-data
\'
task in Gruntfile.js
\n\n
'
;
for
(
var
i
=
0
,
len
=
glpyhiconsLines
.
length
;
i
<
len
;
i
++
)
{
for
(
var
i
=
0
,
len
=
glpyhiconsLines
.
length
;
i
<
len
;
i
++
)
{
var
match
=
glpyhiconsLines
[
i
].
match
(
iconClassName
)
var
match
=
glpyhiconsLines
[
i
].
match
(
iconClassName
)
...
...
This diff is collapsed.
Click to expand it.
_data/glyphicons.yml
+
2
-
3
View file @
ec13eb8d
# Generated on Sun Dec 22 2013 21:00:46 GMT-0800 (PST)
# This file is generated via Grunt task. **Do not edit directly.**
# **Don't edit this directly!**
# See the 'build-glyphicons-data' task in Gruntfile.js.
# Look at the 'build-glyphicons-data' task in Gruntfile.js
-
glyphicon-asterisk
-
glyphicon-asterisk
-
glyphicon-plus
-
glyphicon-plus
...
...
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