浏览代码

fixed loader template path

tags/0.1.1^0
Robin Thoni 8 年前
父节点
当前提交
892d0c20c2
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 1
    1
      dist/luticate-utils.min.js
  2. 4
    4
      src/lubusy.js

+ 1
- 1
dist/luticate-utils.min.js
文件差异内容过多而无法显示
查看文件


+ 4
- 4
src/lubusy.js 查看文件

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" +

正在加载...
取消
保存