Custom number formatting #112

Closed
wants to merge 18 commits into
from
Commits
+1,517 −792
Split
View
@@ -1,21 +1,25 @@
-config.init({
- pkg: "<json:package.json>",
- lint: {
- files: [ "lib/globalize.js", "lib/cultures/*.js", "test/*.js" ]
- },
- qunit: {
- files: [ "test/*.html" ]
- },
- watch: {
- files: [ "<config:lint.files>", "test/*.html" ],
- tasks: "lint qunit"
- },
- jshint: {
- options: {
- eqnull: true
+module.exports = function(grunt) {
+ grunt.initConfig({
+ pkg: "<json:package.json>",
+ lint: {
+ all: [ "lib/globalize.js", "lib/cultures/*.js", "test/*.js" ]
+ },
+ qunit: {
+ all: [ "test/*.html" ]
+ },
+ watch: {
+ scripts: {
+ files: [ "<config:lint.files>", "test/*.html" ]
+ },
+ tasks: "lint qunit"
+ },
+ jshint: {
+ options: {
+ eqnull: true
+ }
}
- }
-});
+ });
-// Default task.
-task.registerTask( "default", "lint qunit" );
+ // Default task.
+ grunt.registerTask( "default", "lint qunit" );
+};
Oops, something went wrong.