git-svn-id: https://192.168.0.254/svn/Proyectos.Uecko_Web/trunk@2 8c1a5cbb-1905-e346-a7f4-bd4d5d3abd07
13 lines
520 B
JavaScript
13 lines
520 B
JavaScript
/*
|
|
* cond - v0.1 - 6/10/2009
|
|
* http://benalman.com/projects/jquery-cond-plugin/
|
|
*
|
|
* Copyright (c) 2009 "Cowboy" Ben Alman
|
|
* Licensed under the MIT license
|
|
* http://benalman.com/about/license/
|
|
*
|
|
* Based on suggestions and sample code by Stephen Band and DBJDBJ in the
|
|
* jquery-dev Google group: http://bit.ly/jqba1
|
|
*/
|
|
|
|
(function(e){e.fn.cond=function(){var t,n=arguments,r=0,i,s,o;while(!i&&r<n.length)i=n[r++],s=n[r++],i=e.isFunction(i)?i.call(this):i,o=s?i?s.call(this,i):t:i;return o!==t?o:this}})(jQuery); |