angular-stackables
Advanced tools
Comparing version 0.0.13 to 0.0.14
{ | ||
"name": "angular-stackables", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "AngularJS stackable widgets built on HTML5 dialog.", | ||
@@ -5,0 +5,0 @@ "authors": [ |
{ | ||
"name": "angular-stackables", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"dependencies": {} | ||
} |
@@ -314,6 +314,7 @@ /*! | ||
// add/remove toggle classes when state.show changes | ||
// update state and add/remove toggle classes when state.show changes | ||
scope.$watch(function() { | ||
return state.show; | ||
}, function(value) { | ||
updateState(state); | ||
if(toggleClasses) { | ||
@@ -366,3 +367,7 @@ if(value === true) { | ||
var set = get.assign || angular.noop; | ||
state = get(scope) || {}; | ||
state = get(scope); | ||
if(!state) { | ||
state = {}; | ||
set(scope, state); | ||
} | ||
if(!('show' in state)) { | ||
@@ -372,3 +377,2 @@ state.show = false; | ||
updateState(state); | ||
set(scope, state); | ||
} | ||
@@ -375,0 +379,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24153
687