lib/sculptor/templates/glyptotheque/source/assets/js/glyptotheque/services.js in sculptor-0.0.9.3 vs lib/sculptor/templates/glyptotheque/source/assets/js/glyptotheque/services.js in sculptor-0.0.10
- old
+ new
@@ -1,10 +2 @@
-angular.module('services', [])
-
- .factory('relativePathToRoot', function($window) {
- return function() {
- var pathToRoot = $window.location.pathname.replace(/\/$/, '').split('/').slice(1).map(function() {
- return '../';
- }).join('');
- return pathToRoot;
- };
- });
+angular.module('services', []);