diff options
author | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-13 09:49:11 +0000 |
---|---|---|
committer | mensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2008-11-13 09:49:11 +0000 |
commit | e44a7e37b6c7b5961adaffc62b9042b8d442938e (patch) | |
tree | 95b67c356e93163467db2451f2b8cce84ed5d582 /includes/js/dojox/crypto | |
parent | a62b9742ee5e28bcec6872d88f50f25b820914f6 (diff) | |
download | semanticscuttle-e44a7e37b6c7b5961adaffc62b9042b8d442938e.tar.gz semanticscuttle-e44a7e37b6c7b5961adaffc62b9042b8d442938e.tar.bz2 |
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
Diffstat (limited to 'includes/js/dojox/crypto')
-rw-r--r-- | includes/js/dojox/crypto/Blowfish.js | 10 | ||||
-rw-r--r-- | includes/js/dojox/crypto/MD5.js | 10 | ||||
-rw-r--r-- | includes/js/dojox/crypto/README | 12 | ||||
-rw-r--r-- | includes/js/dojox/crypto/_base.js | 14 |
4 files changed, 46 insertions, 0 deletions
diff --git a/includes/js/dojox/crypto/Blowfish.js b/includes/js/dojox/crypto/Blowfish.js new file mode 100644 index 0000000..a317887 --- /dev/null +++ b/includes/js/dojox/crypto/Blowfish.js @@ -0,0 +1,10 @@ +if(!dojo._hasResource["dojox.crypto.Blowfish"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. +dojo._hasResource["dojox.crypto.Blowfish"] = true; +dojo.provide("dojox.crypto.Blowfish"); +dojo.require("dojox.encoding.crypto.Blowfish"); + +dojo.deprecated("dojox.crypto.Blowfish", "DojoX cryptography has been merged into DojoX Encoding. To use Blowfish, include dojox.encoding.crypto.Blowfish.", "1.2"); + +dojox.crypto.Blowfish=dojox.encoding.crypto.Blowfish; + +} diff --git a/includes/js/dojox/crypto/MD5.js b/includes/js/dojox/crypto/MD5.js new file mode 100644 index 0000000..aa5ac1e --- /dev/null +++ b/includes/js/dojox/crypto/MD5.js @@ -0,0 +1,10 @@ +if(!dojo._hasResource["dojox.crypto.MD5"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. +dojo._hasResource["dojox.crypto.MD5"] = true; +dojo.provide("dojox.crypto.MD5"); +dojo.require("dojox.encoding.digests.MD5"); + +dojo.deprecated("dojox.crypto.MD5.compute", "DojoX cryptography has been merged into DojoX Encoding. To use MD5, include dojox.encoding.digests.MD5.", "1.2"); + +dojox.crypto.MD5.compute=dojox.encoding.digests.MD5; + +} diff --git a/includes/js/dojox/crypto/README b/includes/js/dojox/crypto/README new file mode 100644 index 0000000..4103fa6 --- /dev/null +++ b/includes/js/dojox/crypto/README @@ -0,0 +1,12 @@ +-------------------------------------------------------------------------------
+DojoX Cryptography
+-------------------------------------------------------------------------------
+Project state:
+deprecated
+-------------------------------------------------------------------------------
+This project will be removed in the near future in favor of dojox.encoding. If
+you are using this code, please follow the upgrade path:
+
+Digests (MD5): dojox.encoding.digests.MD5
+Crypto (Blowfish): dojox.encoding.crypto.Blowfish
+-------------------------------------------------------------------------------
diff --git a/includes/js/dojox/crypto/_base.js b/includes/js/dojox/crypto/_base.js new file mode 100644 index 0000000..152dd02 --- /dev/null +++ b/includes/js/dojox/crypto/_base.js @@ -0,0 +1,14 @@ +if(!dojo._hasResource["dojox.crypto._base"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. +dojo._hasResource["dojox.crypto._base"] = true; +dojo.provide("dojox.crypto._base"); + +dojo.require("dojox.encoding.crypto._base"); +dojo.require("dojox.encoding.digests._base"); + +dojo.deprecated("dojox.crypto._base", "DojoX cryptography has been merged into DojoX Encoding. To use, include dojox.encoding.digests and/or dojox.encoding.crypto.", "1.2"); + +// unfortunately there's no way of pointing at two files with an alias, particularly +// when both have similarly named things; but we'll try anyways. +dojox.crypto._base=dojo.mixin(dojox.encoding.crypto._base, dojox.encoding.digests._base); + +} |