semantic-ui
Advanced tools
Comparing version 0.18.0 to 0.19.3
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -133,3 +133,6 @@ * http://opensource.org/licenses/MIT | ||
$activeContent = $activeTitle.next($content), | ||
$previousTitle = $activeTitle.siblings(selector.title).filter('.' + className.active), | ||
$otherSections = module.is.menu() | ||
? $activeTitle.parent().siblings(selector.item).find(selector.title) | ||
: $activeTitle.siblings(selector.title), | ||
$previousTitle = $otherSections.filter('.' + className.active), | ||
$previousContent = $previousTitle.next($title), | ||
@@ -210,3 +213,7 @@ contentIsOpen = ($previousTitle.size() > 0) | ||
}, | ||
is: { | ||
menu: function () { | ||
return $module.hasClass(className.menu); | ||
} | ||
}, | ||
setting: function(name, value) { | ||
@@ -411,3 +418,4 @@ if( $.isPlainObject(name) ) { | ||
className : { | ||
active : 'active' | ||
active : 'active', | ||
menu : 'menu', | ||
}, | ||
@@ -417,3 +425,5 @@ | ||
title : '.title', | ||
content : '.content' | ||
content : '.content', | ||
menu : '.menu', | ||
item : '.item', | ||
} | ||
@@ -420,0 +430,0 @@ |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -460,13 +460,20 @@ * http://opensource.org/licenses/MIT | ||
cacheSizes: function() { | ||
module.cache = { | ||
pageHeight : $body.outerHeight(), | ||
height : $module.outerHeight() + settings.offset, | ||
contextHeight : (settings.context == 'body') | ||
? $(window).height() | ||
: $dimmable.height() | ||
}; | ||
module.debug('Caching modal and container sizes', module.cache); | ||
var | ||
modalHeight = $module.outerHeight() | ||
; | ||
if(modalHeight !== 0) { | ||
module.cache = { | ||
pageHeight : $(document).outerHeight(), | ||
height : modalHeight + settings.offset, | ||
contextHeight : (settings.context == 'body') | ||
? $(window).height() | ||
: $dimmable.height() | ||
}; | ||
module.debug('Caching modal and container sizes', module.cache); | ||
} | ||
}, | ||
can: { | ||
@@ -473,0 +480,0 @@ fit: function() { |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -849,3 +849,3 @@ * http://opensource.org/licenses/MIT | ||
if(typeof text.title !== undefined && text.title) { | ||
html += '<div class="header">' + text.title + '</div class="header">'; | ||
html += '<div class="header">' + text.title + '</div>'; | ||
} | ||
@@ -852,0 +852,0 @@ if(typeof text.content !== undefined && text.content) { |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
@@ -5,3 +5,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -8,0 +8,0 @@ * http://opensource.org/licenses/MIT |
@@ -6,3 +6,3 @@ /* | ||
* | ||
* Copyright 2013 Contributors | ||
* Copyright 2014 Contributors | ||
* Released under the MIT license | ||
@@ -9,0 +9,0 @@ * http://opensource.org/licenses/MIT |
{ | ||
"name": "semantic-ui", | ||
"version": "0.18.0", | ||
"version": "0.19.3", | ||
"title": "Semantic UI", | ||
@@ -5,0 +5,0 @@ "description": "Semantic empowers designers and developers by creating a shared vocabulary for UI.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1341910
26511