@@ -82,25 +82,24 @@ module.exports = function(grunt) {
82
82
} , {
83
83
grunt : true ,
84
84
args : [ 'watch:web' ]
85
- } ]
85
+ }
86
+ ]
86
87
} ,
87
88
docs : {
88
89
options : {
89
90
stream : true
90
91
} ,
91
- tasks : [
92
- {
93
- grunt : true ,
94
- args : [ 'watch:docs' ]
95
- }
96
- ]
92
+ tasks : [ {
93
+ grunt : true ,
94
+ args : [ 'watch:docs' ]
95
+ } ]
97
96
}
98
97
} ,
99
98
100
99
cssmin : {
101
100
target : {
102
- files : {
103
- 'public/css/plugins.css' : [
101
+ files : {
102
+ 'public/css/plugins.css' : [
104
103
'public/css/plugins/datatables/dataTables.scroller.css' ,
105
104
'public/css/plugins/datatables/dataTables.foundation.css' ,
106
105
'public/js/vendor/chosen/chosen.css' ,
@@ -149,15 +148,15 @@ module.exports = function(grunt) {
149
148
}
150
149
} ,
151
150
152
- jsdoc : {
153
- dist : {
151
+ jsdoc : {
152
+ dist : {
154
153
src : [ 'README.md' , 'src/**/*.js' , '!src/public/js/vendor/**/*.js' , '!src/public/js/plugins/*.js' ] ,
155
154
options : {
156
155
destination : 'docs' ,
157
156
template : 'docs/jaguarjs-jsdoc' ,
158
157
configure : 'docs/jaguarjs-jsdoc/conf.json'
159
- //template : "node_modules/grunt-jsdoc/node_modules/ink-docstrap/template",
160
- //configure : "node_modules/grunt-jsdoc/node_modules/ink-docstrap/template/jsdoc.conf.json"
158
+ //template : "node_modules/grunt-jsdoc/node_modules/ink-docstrap/template",
159
+ //configure : "node_modules/grunt-jsdoc/node_modules/ink-docstrap/template/jsdoc.conf.json"
161
160
}
162
161
}
163
162
} ,
@@ -215,60 +214,58 @@ module.exports = function(grunt) {
215
214
uglify2 : {
216
215
mangle : false
217
216
} ,
218
- modules : [
219
- {
220
- name : 'trudesk.min' ,
221
- create : true ,
222
- include : [
223
- 'jquery' ,
224
- 'jquery_scrollTo' ,
225
- 'jquery_custom' ,
226
- 'uikit' ,
227
- 'angular' ,
228
- 'angularRoute' ,
229
- 'angularCookies' ,
230
- 'modernizr' ,
231
- 'fastclick' ,
232
- 'placeholder' ,
233
- 'nicescroll' ,
234
- 'underscore' ,
235
- 'history' ,
236
- 'd3' ,
237
- 'metricsgraphics' ,
238
- 'd3pie' ,
239
- 'peity' ,
240
- 'countup' ,
241
- 'selectize' ,
242
- 'waves' ,
243
- 'formvalidator' ,
244
- 'snackbar' ,
217
+ modules : [ {
218
+ name : 'trudesk.min' ,
219
+ create : true ,
220
+ include : [
221
+ 'jquery' ,
222
+ 'jquery_scrollTo' ,
223
+ 'jquery_custom' ,
224
+ 'uikit' ,
225
+ 'angular' ,
226
+ 'angularRoute' ,
227
+ 'angularCookies' ,
228
+ 'modernizr' ,
229
+ 'fastclick' ,
230
+ 'placeholder' ,
231
+ 'nicescroll' ,
232
+ 'underscore' ,
233
+ 'history' ,
234
+ 'd3' ,
235
+ 'metricsgraphics' ,
236
+ 'd3pie' ,
237
+ 'peity' ,
238
+ 'countup' ,
239
+ 'selectize' ,
240
+ 'waves' ,
241
+ 'formvalidator' ,
242
+ 'snackbar' ,
245
243
246
- '../../src/permissions/roles' ,
244
+ '../../src/permissions/roles' ,
247
245
248
- 'angularjs/main' ,
249
- 'angularjs/controllers' ,
250
- 'app' ,
246
+ 'angularjs/main' ,
247
+ 'angularjs/controllers' ,
248
+ 'app' ,
251
249
252
- 'modules/ajaxify' ,
253
- 'modules/ajaximgupload' ,
254
- 'modules/attachmentUpload' ,
250
+ 'modules/ajaxify' ,
251
+ 'modules/ajaximgupload' ,
252
+ 'modules/attachmentUpload' ,
255
253
256
- 'pages/accounts' ,
257
- 'pages/dashboard' ,
258
- 'pages/editaccount' ,
259
- 'pages/groups' ,
260
- 'pages/messages' ,
261
- 'pages/reports' ,
262
- 'pages/singleTicket' ,
263
- 'pages/tickets'
264
- ] ,
265
- shim : {
266
- angular : {
267
- exports : 'angular'
268
- }
254
+ 'pages/accounts' ,
255
+ 'pages/dashboard' ,
256
+ 'pages/editaccount' ,
257
+ 'pages/groups' ,
258
+ 'pages/messages' ,
259
+ 'pages/reports' ,
260
+ 'pages/singleTicket' ,
261
+ 'pages/tickets'
262
+ ] ,
263
+ shim : {
264
+ angular : {
265
+ exports : 'angular'
269
266
}
270
267
}
271
- ] ,
268
+ } ] ,
272
269
paths : {
273
270
//foundation: 'empty:',
274
271
angular : 'empty:' ,
@@ -299,4 +296,4 @@ module.exports = function(grunt) {
299
296
grunt . registerTask ( 'swinbuild' , [ 'shell:requirejswin' ] ) ;
300
297
grunt . registerTask ( 'winbuild' , [ 'uglify:uikit' , 'shell:requirejswin' , 'buildcss' , 'builddocs' ] ) ;
301
298
grunt . registerTask ( 'default' , [ 'server' ] ) ;
302
- } ;
299
+ } ;
0 commit comments