grunt-wording
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "grunt-wording", | ||
"description": "The best Grunt plugin ever.", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/P1X3L/grunt-wording", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -43,7 +43,12 @@ # grunt-wording | ||
Type: Table | ||
Default value: ['{%', '%}'] | ||
Default value: 'config' | ||
A table that is used to set your opening and closing delimiters to add a | ||
wording key in your file. | ||
It is possible to specify the delimiters for your wording by using the `grunt.template.addDelimiters` method. For instance by specifying a `wording` delimiter and using it in your options. | ||
```js | ||
grunt.template.addDelimiters('wording', '{%', '%}'); | ||
``` | ||
The default delimiters are called `config` : `<% %>` | ||
#### options.sharedPrefix | ||
@@ -50,0 +55,0 @@ Type: `String` |
@@ -135,5 +135,5 @@ /* | ||
grunt.log.write('Writing ' + options.wording + '...') | ||
grunt.file.write(options.wording, JSON.stringify(data, null, 2)); | ||
grunt.file.write(options.wording, JSON.stringify(data, null, 2) + '\n'); | ||
grunt.log.ok(); | ||
}); | ||
}; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
78197
118
0