File tree 2 files changed +22
-3
lines changed
2 files changed +22
-3
lines changed Original file line number Diff line number Diff line change @@ -211,8 +211,27 @@ module.exports = function(grunt) {
211
211
}
212
212
} ) ;
213
213
214
+ grunt . config ( 'string-replace.numeral' , {
215
+ files : {
216
+ 'src/numeral.js' : 'src/numeral.js'
217
+ } ,
218
+ options : {
219
+ replacements : [
220
+ {
221
+ pattern : / v e r s i o n : .* / ,
222
+ replacement : 'version : ' + version
223
+ } ,
224
+ {
225
+ pattern : / V E R S I O N = .* / ,
226
+ replacement : 'VERSION = \'' + version + '\','
227
+ }
228
+ ]
229
+ }
230
+ } ) ;
231
+
214
232
grunt . task . run ( [
215
- 'string-replace:json'
233
+ 'string-replace:json' ,
234
+ 'string-replace:numeral'
216
235
] ) ;
217
236
} ) ;
218
237
Original file line number Diff line number Diff line change 1
1
/*! @preserve
2
2
* numeral.js
3
- * version : 2.0.3
3
+ * version : 2.0.4
4
4
* author : Adam Draper
5
5
* license : MIT
6
6
* http://adamwdraper.github.com/Numeral-js/
21
21
22
22
var numeral ,
23
23
_ ,
24
- VERSION = '2.0.3 ' ,
24
+ VERSION = '2.0.4 ' ,
25
25
formats = { } ,
26
26
locales = { } ,
27
27
defaults = {
You can’t perform that action at this time.
0 commit comments