/*! Copyright 2012, Ben Lin (http://dreamerslab.com/)
* Licensed under the MIT License (LICENSE.txt).
*
* Version: 1.0.19
*
* Requires: jQuery >= 1.2.3
*/
!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(u){u.fn.addBack=u.fn.addBack||u.fn.andSelf,u.fn.extend({actual:function(t,e){if(!this[t])throw'$.actual => The jQuery method "'+t+'" you called does not exist';var n,i,a=u.extend({absolute:!1,clone:!1,includeMargin:!1,display:"block"},e),o=this.eq(0);if(!0===a.clone)n=function(){o=o.clone().attr("style","position: absolute !important; top: -1000 !important; ").appendTo("body")},i=function(){o.remove()};else{var d,r=[],l="";n=function(){d=o.parents().addBack().filter(":hidden"),l+="visibility: hidden !important; display: "+a.display+" !important; ",!0===a.absolute&&(l+="position: absolute !important; "),d.each(function(){var t=u(this),e=t.attr("style");r.push(e),t.attr("style",e?e+";"+l:l)})},i=function(){d.each(function(t){var e=u(this),n=r[t];void 0===n?e.removeAttr("style"):e.attr("style",n)})}}n();var s=/(outer)/.test(t)?o[t](a.includeMargin):o[t]();return i(),s}})});
|