Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Jun 7, 2014
1 parent 79cb714 commit 4be41f6
Show file tree
Hide file tree
Showing 9 changed files with 970 additions and 6 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
language: node_js
node_js:
- 0.4
- 0.6
- 0.8
- 0.10
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Documentation

Downloads
---------
* [Distributions](https://github.com/dcodeIO/Long.js/tree/master/dist)
* [ZIP-Archive](https://github.com/dcodeIO/Long.js/archive/master.zip)
* [Tarball](https://github.com/dcodeIO/Long.js/tarball/master)

Expand Down
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
Copyright 2013 Daniel Wirtz <[email protected]>
Copyright 2009 The Closure Library Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS-IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
var path = require("path"),
Long = require(path.join(__dirname, "dist", "Long.js"));

module.exports = Long;
2 changes: 1 addition & 1 deletion jsdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"allowUnknownTags": true
},
"source": {
"include": ["Long.js"]
"include": ["dist/Long.js"]
},
"opts": {
"template": "templates/esoccer",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.1.3",
"author": "Daniel Wirtz <[email protected]>",
"description": "A Long class for representing a 64-bit two's-complement integer value.",
"main": "Long.js",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/dcodeIO/Long.js.git"
Expand All @@ -20,8 +20,8 @@
"node": ">=0.6"
},
"scripts": {
"make": "npm run-script compile && npm test && npm run-script jsdoc",
"compile": "ccjs Long.js --compilation_level=ADVANCED_OPTIMIZATIONS --output_wrapper=\"(function(){%output%})();\" > Long.min.js",
"make": "cp src/Long.js dist/Long.js && npm run-script compile && npm test && npm run-script jsdoc",
"compile": "ccjs dist/Long.js --compilation_level=ADVANCED_OPTIMIZATIONS --output_wrapper=\"(function(){%output%})();\" > dist/Long.min.js",
"test": "node node_modules/testjs/bin/testjs tests/suite.js",
"jsdoc": "jsdoc -c jsdoc.json"
}
Expand Down
Loading

0 comments on commit 4be41f6

Please sign in to comment.