Sha256: e95b3b88c3074d43f47e493a1eca2e2361724c3f592fb1fff9771c9d1f80beb5

Contents?: true

Size: 809 Bytes

Versions: 36

Compression:

Stored size: 809 Bytes

Contents

/*!
 * jQuery isjQuery - v0.4 - 2/13/2010
 * http://benalman.com/projects/jquery-misc-plugins/
 * 
 * Copyright (c) 2010 "Cowboy" Ben Alman
 * Dual licensed under the MIT and GPL licenses.
 * http://benalman.com/about/license/
 */

// Since every jQuery object has a .jquery property, it's usually safe to test
// the existence of that property. Of course, this only works as long as you
// know that any non-jQuery object you might be testing has no .jquery property.
// So.. what do you do when you need to test an external object whose properties
// you don't know?
// 
// If you currently use instanceof, read this Ajaxian article:
// http://ajaxian.com/archives/working-aroung-the-instanceof-memory-leak

jQuery.isjQuery = function( obj ){
  return obj && obj.hasOwnProperty && obj instanceof jQuery;
};

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
the_jobbook_admin_data-1.3.0a app/assets/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.2.1 app/assets/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.2.0 app/assets/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.1.16 app/assets/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.1.15 app/assets/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.1.14 lib/public/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.1.13 lib/public/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.1.12 lib/public/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.1.11 lib/public/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.1.10 lib/public/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.1.9 lib/public/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.1.8 lib/public/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.1.7 lib/public/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.1.3 lib/public/javascripts/vendor/jquery.ba-isjquery.js
admin_data-1.0.22 lib/js/vendor/jquery.ba-isjquery.js
admin_data-1.0.21 lib/js/vendor/jquery.ba-isjquery.js
admin_data-1.0.19 lib/js/vendor/jquery.ba-isjquery.js
admin_data-1.0.18 lib/js/vendor/jquery.ba-isjquery.js
admin_data-1.0.17 lib/js/vendor/jquery.ba-isjquery.js
admin_data-1.0.16 lib/js/vendor/jquery.ba-isjquery.js