Przeglądaj źródła

fixed loader template path

tags/0.1.1^0
Robin Thoni 10 lat temu
rodzic
commit
892d0c20c2
2 zmienionych plików z 5 dodań i 5 usunięć
  1. 1
    1
      dist/luticate-utils.min.js
  2. 4
    4
      src/lubusy.js

+ 1
- 1
dist/luticate-utils.min.js
Plik diff jest za duży
Wyświetl plik


+ 4
- 4
src/lubusy.js Wyświetl plik

22
 
22
 
23
                 var options = {
23
                 var options = {
24
                     group: attrs.luBusy,
24
                     group: attrs.luBusy,
25
-                    templateLoader: "luticate-loader.html",
26
-                    templateError: "luticate-error.html"
25
+                    templateLoader: "/luticate/lubusy-loader.html",
26
+                    templateError: "/luticate/lubusy-error.html"
27
                 };
27
                 };
28
 
28
 
29
                 $scope.update = function()
29
                 $scope.update = function()
103
 angular.module('luticateUtils').run(['$templateCache', function($templateCache) {
103
 angular.module('luticateUtils').run(['$templateCache', function($templateCache) {
104
     'use strict';
104
     'use strict';
105
 
105
 
106
-    $templateCache.put('luticate-loader.html',
106
+    $templateCache.put('/luticate/lubusy-loader.html',
107
         "<div class=\"lu-busy-default-wrapper\" style=\"position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;\">\n" +
107
         "<div class=\"lu-busy-default-wrapper\" style=\"position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;\">\n" +
108
         "\n" +
108
         "\n" +
109
         "   <div class=\"lu-busy-default-sign\">\n" +
109
         "   <div class=\"lu-busy-default-sign\">\n" +
130
         "</div>"
130
         "</div>"
131
     );
131
     );
132
 
132
 
133
-    $templateCache.put('luticate-error.html',
133
+    $templateCache.put('/luticate/lubusy-error.html',
134
         "<div class=\"lu-busy-default-wrapper\" style=\"position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;\">\n" +
134
         "<div class=\"lu-busy-default-wrapper\" style=\"position: absolute; top: 0px; left: 0px; right: 0px; bottom: 0px;\">\n" +
135
         "\n" +
135
         "\n" +
136
         "   <div class=\"lu-busy-default-sign\">\n" +
136
         "   <div class=\"lu-busy-default-sign\">\n" +

Ładowanie…
Anuluj
Zapisz