From 59bdf1db3a2b301ade80701e5d5baccf36cbb209 Mon Sep 17 00:00:00 2001 From: Xinni Ge Date: Tue, 10 Apr 2018 18:45:06 +0900 Subject: [PATCH] Update files to upstream 1. update js file content. 2. remove scss file and add css file. 3. add the html template file. Change-Id: I328b902b43def31d0f1e8a31da8c2c427c2bfa65 --- ...angular-notify.scss => angular-notify.css} | 0 .../angular_notify/data/angular-notify.html | 20 +++++++++++++ .../pkg/angular_notify/data/angular-notify.js | 28 ------------------- 3 files changed, 20 insertions(+), 28 deletions(-) rename xstatic/pkg/angular_notify/data/{angular-notify.scss => angular-notify.css} (100%) create mode 100644 xstatic/pkg/angular_notify/data/angular-notify.html diff --git a/xstatic/pkg/angular_notify/data/angular-notify.scss b/xstatic/pkg/angular_notify/data/angular-notify.css similarity index 100% rename from xstatic/pkg/angular_notify/data/angular-notify.scss rename to xstatic/pkg/angular_notify/data/angular-notify.css diff --git a/xstatic/pkg/angular_notify/data/angular-notify.html b/xstatic/pkg/angular_notify/data/angular-notify.html new file mode 100644 index 0000000..3c00178 --- /dev/null +++ b/xstatic/pkg/angular_notify/data/angular-notify.html @@ -0,0 +1,20 @@ +
+ +
+ {{$message}} +
+ +
+ +
+ + + +
\ No newline at end of file diff --git a/xstatic/pkg/angular_notify/data/angular-notify.js b/xstatic/pkg/angular_notify/data/angular-notify.js index 6b02529..c60eb10 100644 --- a/xstatic/pkg/angular_notify/data/angular-notify.js +++ b/xstatic/pkg/angular_notify/data/angular-notify.js @@ -154,31 +154,3 @@ angular.module('cgNotify', []).factory('notify',['$timeout','$http','$compile',' return notify; } ]); - -angular.module('cgNotify').run(['$templateCache', function($templateCache) { - 'use strict'; - - $templateCache.put('angular-notify.html', - "
\n" + - "\n" + - "
\n" + - " {$ $message $}\n" + - "
\n" + - "\n" + - "
\n" + - " \n" + - "
\n" + - "\n" + - " \n" + - "\n" + - "
" - ); - -}]);