]>
git.r.bdr.sh - rbdr/dotfiles/blob - atom/packages/ex-mode/node_modules/space-pen/node_modules/jquery/src/css/addGetHookIf.js
e12f3598d366e7d2f5d95f553adb0db329f9eac4
3 function addGetHookIf( conditionFn
, hookFn
) {
4 // Define the hook, we'll check on the first run if it's really needed.
8 // Hook not needed (or it's not possible to use it due
9 // to missing dependency), remove it.
14 // Hook needed; redefine it so that the support test is not executed again.
15 return (this.get = hookFn
).apply( this, arguments
);