change ref docs url format from 1_5 to v1.5
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
define( function() {
|
||||
|
||||
"use strict";
|
||||
|
||||
/**
|
||||
* Determines whether an object can have data
|
||||
*/
|
||||
return function( owner ) {
|
||||
|
||||
// Accepts only:
|
||||
// - Node
|
||||
// - Node.ELEMENT_NODE
|
||||
// - Node.DOCUMENT_NODE
|
||||
// - Object
|
||||
// - Any
|
||||
return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );
|
||||
};
|
||||
|
||||
} );
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
define( [
|
||||
"../Data"
|
||||
], function( Data ) {
|
||||
"use strict";
|
||||
|
||||
return new Data();
|
||||
} );
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
define( [
|
||||
"../Data"
|
||||
], function( Data ) {
|
||||
"use strict";
|
||||
|
||||
return new Data();
|
||||
} );
|
||||
Reference in New Issue
Block a user