chore(gruntfile): revert commit to use minified libraries (#115)

pull/116/head
Anthony Lapenna 8 years ago committed by GitHub
parent ea6e11000d
commit 1d8f51c141

@ -98,7 +98,7 @@ angular.module('uifordocker.services', ['ngResource', 'ngSanitize'])
inspect: {method: 'GET', params: {id: '@id', action: 'json'}}, inspect: {method: 'GET', params: {id: '@id', action: 'json'}},
create: { create: {
method: 'POST', params: {action: 'create', fromImage: '@fromImage', tag: '@tag'}, method: 'POST', params: {action: 'create', fromImage: '@fromImage', tag: '@tag'},
isArray: true, transformResponse: createImageHandler, isArray: true, transformResponse: createImageHandler
}, },
remove: { remove: {
method: 'DELETE', params: {id: '@id'}, method: 'DELETE', params: {id: '@id'},
@ -112,7 +112,7 @@ angular.module('uifordocker.services', ['ngResource', 'ngSanitize'])
return $resource(Settings.url + '/events', {}, { return $resource(Settings.url + '/events', {}, {
query: { query: {
method: 'GET', params: {since: '@since', until: '@until'}, method: 'GET', params: {since: '@since', until: '@until'},
isArray: true, transformResponse: queryEventsHandler, isArray: true, transformResponse: queryEventsHandler
} }
}); });
}]) }])

@ -152,11 +152,11 @@ module.exports = function (grunt) {
} }
}, },
angular: { angular: {
src: ['bower_components/angular/angular.js', src: ['bower_components/angular/angular.min.js',
'bower_components/angular-sanitize/angular-sanitize.min.js', 'bower_components/angular-sanitize/angular-sanitize.min.js',
'bower_components/angular-cookies/angular-cookies.min.js', 'bower_components/angular-cookies/angular-cookies.min.js',
'bower_components/angular-ui-router/release/angular-ui-router.min.js', 'bower_components/angular-ui-router/release/angular-ui-router.min.js',
'bower_components/angular-resource/angular-resource.js', 'bower_components/angular-resource/angular-resource.min.js',
'bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js', 'bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js',
'bower_components/angular-ui-select/dist/select.min.js'], 'bower_components/angular-ui-select/dist/select.min.js'],
dest: '<%= distdir %>/js/angular.js' dest: '<%= distdir %>/js/angular.js'

Loading…
Cancel
Save