| Current Path : /home/lejardintz/www/media/foundry/3.1/scripts/ |
| Current File : /home/lejardintz/www/media/foundry/3.1/scripts/backgroundposition.min.js |
!function(){var moduleFactory=function($){var module=this,exports=function(){function normalize(value){var h="100%",z="0px",options={top:z,bottom:h,left:z,right:h};return options[value]||value}var bgpos="background-position",cc=$.camelCase;$.each(["x","y"],function(i,v){var camelCase=cc(bgpos+"-"+v);$.cssHooks[camelCase]={get:function(elem){var pos=$.css(elem,bgpos).split(/\s+/,2);return normalize(pos[i])},set:function(elem,value){var pos=$.css(elem,bgpos).split(/\s+/,2);pos[i]=normalize(value),$.style(elem,bgpos,pos.join(" "))
}},$.fx.step[camelCase]=function(fx){$.style(fx.elem,fx.prop,fx.now)}})};exports(),module.resolveWith(exports)};FD31.module("backgroundposition",moduleFactory)}();