semantic-ui-less
Advanced tools
Comparing version 1.11.0 to 1.11.1
@@ -78,21 +78,21 @@ /*! | ||
if( module.is.alreadySetup() ) { | ||
module.error(error.alreadySetup); | ||
module.setup.reference(); | ||
} | ||
else { | ||
module.setup.layout(); | ||
} | ||
module.save.defaults(); | ||
module.set.selected(); | ||
module.save.defaults(); | ||
module.set.selected(); | ||
module.create.id(); | ||
module.create.id(); | ||
if(hasTouch) { | ||
module.bind.touchEvents(); | ||
if(hasTouch) { | ||
module.bind.touchEvents(); | ||
} | ||
module.bind.mouseEvents(); | ||
module.bind.keyboardEvents(); | ||
module.observeChanges(); | ||
module.instantiate(); | ||
} | ||
module.bind.mouseEvents(); | ||
module.bind.keyboardEvents(); | ||
module.observeChanges(); | ||
module.instantiate(); | ||
}, | ||
@@ -165,3 +165,2 @@ | ||
setup: { | ||
layout: function() { | ||
@@ -217,2 +216,17 @@ if( $module.is('select') ) { | ||
module.refresh(); | ||
}, | ||
reference: function() { | ||
var | ||
index = $allModules.index($module), | ||
$firstModules, | ||
$lastModules | ||
; | ||
module.debug('Dropdown behavior was called on select, replacing with closest dropdown'); | ||
// replace module reference | ||
$module = $module.parent(selector.dropdown); | ||
module.refresh(); | ||
// adjust all modules | ||
$firstModules = $allModules.slice(0, index); | ||
$lastModules = $allModules.slice(index + 1); | ||
$allModules = $firstModules.add($module).add($lastModules); | ||
} | ||
@@ -1653,6 +1667,5 @@ }, | ||
; | ||
return (returnedValue !== undefined) | ||
? returnedValue | ||
: this | ||
: $allModules | ||
; | ||
@@ -1659,0 +1672,0 @@ }; |
@@ -23,3 +23,2 @@ /*! | ||
performance = [], | ||
timer, | ||
@@ -856,3 +855,3 @@ moduleArguments = arguments, | ||
clearTimeout(module.performance.timer); | ||
timer = setTimeout(module.performance.display, 600); | ||
module.performance.timer = setTimeout(module.performance.display, 100); | ||
}, | ||
@@ -859,0 +858,0 @@ display: function() { |
@@ -8,3 +8,3 @@ var | ||
summary : 'Semantic UI - LESS Release of Semantic UI', | ||
version : '1.11.0', | ||
version : '1.11.1', | ||
git : 'git://github.com/Semantic-Org/Semantic-UI-LESS.git', | ||
@@ -11,0 +11,0 @@ }); |
{ | ||
"name": "semantic-ui-less", | ||
"version": "1.11.0", | ||
"version": "1.11.1", | ||
"title": "Semantic UI", | ||
@@ -5,0 +5,0 @@ "description": "LESS Only distribution of Semantic UI", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2312107
17460