From e44a7e37b6c7b5961adaffc62b9042b8d442938e Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 13 Nov 2008 09:49:11 +0000 Subject: New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/js/dojox/storage/_common.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 includes/js/dojox/storage/_common.js (limited to 'includes/js/dojox/storage/_common.js') diff --git a/includes/js/dojox/storage/_common.js b/includes/js/dojox/storage/_common.js new file mode 100644 index 0000000..c511ba5 --- /dev/null +++ b/includes/js/dojox/storage/_common.js @@ -0,0 +1,20 @@ +if(!dojo._hasResource["dojox.storage._common"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. +dojo._hasResource["dojox.storage._common"] = true; +dojo.provide("dojox.storage._common"); +dojo.require("dojox.storage.Provider"); +dojo.require("dojox.storage.manager"); + +/* + Note: if you are doing Dojo Offline builds you _must_ + have offlineProfile=true when you run the build script: + ./build.sh action=release profile=offline offlineProfile=true +*/ +dojo.require("dojox.storage.GearsStorageProvider"); +dojo.require("dojox.storage.WhatWGStorageProvider"); +dojo.require("dojox.storage.FlashStorageProvider"); + +// now that we are loaded and registered tell the storage manager to +// initialize itself +dojox.storage.manager.initialize(); + +} -- cgit v1.2.3-54-g00ecf