GUI Rework: reorganized folders and split app.js

This commit is contained in:
Dennis Wilson
2014-11-26 13:39:59 +01:00
committed by Jakob Borg
parent 8588625937
commit 3b88ee623b
52 changed files with 1591 additions and 1502 deletions

View File

@@ -0,0 +1 @@
angular.module("pascalprecht.translate").factory("$translateStaticFilesLoader",["$q","$http",function(a,b){return function(c){if(!c||!c.prefix||!c.suffix)throw new Error("Couldn't load static files, no prefix or suffix specified!");var d=a.defer();return b({url:[c.prefix,c.key,c.suffix].join(""),method:"GET",params:""}).success(function(a){d.resolve(a)}).error(function(){d.reject(c.key)}),d.promise}}]);