Skip to content
Browse files

rename index.js to cryptojs.js

  • Loading branch information...
1 parent e7a1d87 commit 0f9e555dc71fe8e00f25e7c83407bd12d8d6e825 @gwjjeff committed Jan 14, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 convert.sh
View
6 convert.sh
@@ -34,7 +34,7 @@ cat > package.json <<\EOLINES
"type": "git",
"url": "git://github.com/gwjjeff/cryptojs.git"
},
- "main": "index.js",
+ "main": "cryptojs.js",
"engines": {
"node": "*"
},
@@ -45,7 +45,7 @@ EOLINES
# write index.js
# and merge Crypto with CryptoMath BlockModes DES AES HMAC MARC4 MD5 PBKDF2 PBKDF2Async Rabbit SHA1 SHA256
-cat > index.js <<\EOLINES
+cat > cryptojs.js <<\EOLINES
var Crypto = exports.Crypto = require('./lib/Crypto').Crypto;
[ 'CryptoMath'
@@ -103,7 +103,7 @@ EOLINES
# write test file
cat > test/test.coffee <<\EOLINES
-Crypto = (require 'cryptojs').Crypto
+Crypto = (require '../cryptojs').Crypto
key = '12345678'
us = 'Hello, 世界!'

0 comments on commit 0f9e555

Please sign in to comment.
Something went wrong with that request. Please try again.