Script for building minified javascript using closure compiler

This commit is contained in:
chouseknecht
2013-06-10 18:31:17 -04:00
parent cba55a061a
commit 9e9e41db35
41 changed files with 197 additions and 213 deletions

View File

@@ -20,7 +20,6 @@ angular.module('RestServices',['ngCookies','AuthService'])
var key,rgx;
for (key in this.params) {
rgx = new RegExp("\\:" + key,'gm');
rgx.compile;
if (rgx.test(this.url)) {
this.url = this.url.replace(rgx,this.params[key]);
delete this.params[key];
@@ -51,7 +50,7 @@ angular.module('RestServices',['ngCookies','AuthService'])
data: data });
},
delete: function(data) {
destroy: function(data) {
var url = this.url;
return $http({method: 'DELETE',
url: url,