Skip to content

Commit 82c2041

Browse files
committed
Release v0.1.1
1 parent ca3657e commit 82c2041

5 files changed

+10
-8
lines changed

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-ui-router-css-plugin",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"author": "Harm van der Werf",
55
"keywords": [
66
"angular",

dist/angular-ui-router-css.js

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* angular-ui-router-css
33
* https://github.com/harm-less/angular-ui-router-css
44
5-
* Version: 0.1.0 - 2017-05-30
5+
* Version: 0.1.1 - 2017-12-11
66
* License: MIT
77
*/
88
(function (angular, window) {
@@ -183,8 +183,10 @@
183183
insertBefore: linkElementPlaceholder
184184
});
185185

186-
// temporarily disable the stylesheet until the state has been fully resolved to give a smooth transition
187-
definition.element.disabled = true;
186+
definitionPromise.then(function() {
187+
// temporarily disable the stylesheet until the state has been fully resolved to give a smooth transition
188+
definition.element.disabled = true;
189+
});
188190

189191
// add the stylesheet promise to the definition
190192
definition.promise = definitionPromise;

dist/angular-ui-router-css.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/angular-ui-router-css.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@
175175
var definitionPromise = loadStyleDefinition(definition, {
176176
insertBefore: linkElementPlaceholder
177177
});
178-
178+
179179
definitionPromise.then(function() {
180180
// temporarily disable the stylesheet until the state has been fully resolved to give a smooth transition
181181
definition.element.disabled = true;

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"author": "Harm van der Werf <[email protected]> {https://github.com/harm-less}",
33
"name": "angular-ui-router-css",
4-
"version": "0.1.0",
4+
"version": "0.1.1",
55
"description": "UI Router (1.*) extension to load route-specific, promised based CSS files",
66
"homepage": "https://github.com/harm-less/angular-ui-router-css",
77
"main": "dist/angular-ui-router-css.js",

0 commit comments

Comments
 (0)