olink.docbook-xsl.webhelp.docs.common.jquery.layout.jquery.layout.js Maven / Gradle / Ivy
/**
* @preserve jquery.layout 1.3.0 - Release Candidate 30.51
* $Date: 2012-05-12 08:00:00 (Sat, 12 May 2012) $
* $Rev: 303005 $
*
* Copyright (c) 2012
* Fabrizio Balliano (http://www.fabrizioballiano.net)
* Kevin Dalman (http://allpro.net)
*
* Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html)
* and MIT (http://www.opensource.org/licenses/mit-license.php) licenses.
*
* Changelog: http://layout.jquery-dev.net/changelog.cfm#1.3.0.rc30.5
*
* Docs: http://layout.jquery-dev.net/documentation.html
* Tips: http://layout.jquery-dev.net/tips.html
* Help: http://groups.google.com/group/jquery-ui-layout
*/
/* JavaDoc Info: http://code.google.com/closure/compiler/docs/js-for-compiler.html
* {!Object} non-nullable type (never NULL)
* {?string} nullable type (sometimes NULL) - default for {Object}
* {number=} optional parameter
* {*} ALL types
*/
// NOTE: For best readability, view with a fixed-width font and tabs equal to 4-chars
;(function ($) {
// alias Math methods - used a lot!
var min = Math.min
, max = Math.max
, round = Math.floor
;
function isStr (v) { return $.type(v) === "string"; }
function runPluginCallbacks (Instance, a_fn) {
if ($.isArray(a_fn))
for (var i=0, c=a_fn.length; i