PHP Classes

File: vendors/parsleyjs/bower_components/jquery/src/data/accepts.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/parsleyjs/bower_components/jquery/src/data/accepts.js   Download  
File: vendors/parsleyjs/bower_components/jquery/src/data/accepts.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 383 bytes
 

Contents

Class file image Download
define([ "../core" ], function( jQuery ) { /** * Determines whether an object can have data */ jQuery.acceptData = function( owner ) { // Accepts only: // - Node // - Node.ELEMENT_NODE // - Node.DOCUMENT_NODE // - Object // - Any /* jshint -W018 */ return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); }; return jQuery.acceptData; });