diff options
Diffstat (limited to 'src/data/Data.js')
-rw-r--r-- | src/data/Data.js | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/data/Data.js b/src/data/Data.js index 8c9e1f9f8..2a3ccbd14 100644 --- a/src/data/Data.js +++ b/src/data/Data.js @@ -1,9 +1,9 @@ -import jQuery from "../core.js"; -import camelCase from "../core/camelCase.js"; -import rnothtmlwhite from "../var/rnothtmlwhite.js"; -import acceptData from "./var/acceptData.js"; +import { jQuery } from "../core.js"; +import { camelCase } from "../core/camelCase.js"; +import { rnothtmlwhite } from "../var/rnothtmlwhite.js"; +import { acceptData } from "./var/acceptData.js"; -function Data() { +export function Data() { this.expando = jQuery.expando + Data.uid++; } @@ -153,5 +153,3 @@ Data.prototype = { return cache !== undefined && !jQuery.isEmptyObject( cache ); } }; - -export default Data; |