Skip to content

Commit 4be41f6

Browse files
committed
Cleanup
1 parent 79cb714 commit 4be41f6

9 files changed

Lines changed: 970 additions & 6 deletions

File tree

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: node_js
22
node_js:
3-
- 0.4
43
- 0.6
54
- 0.8
65
- 0.10

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ Documentation
6767

6868
Downloads
6969
---------
70+
* [Distributions](https://github.com/dcodeIO/Long.js/tree/master/dist)
7071
* [ZIP-Archive](https://github.com/dcodeIO/Long.js/archive/master.zip)
7172
* [Tarball](https://github.com/dcodeIO/Long.js/tarball/master)
7273

File renamed without changes.
File renamed without changes.

index.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
Copyright 2013 Daniel Wirtz <dcode@dcode.io>
3+
Copyright 2009 The Closure Library Authors. All Rights Reserved.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS-IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
*/
17+
var path = require("path"),
18+
Long = require(path.join(__dirname, "dist", "Long.js"));
19+
20+
module.exports = Long;

jsdoc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"allowUnknownTags": true
44
},
55
"source": {
6-
"include": ["Long.js"]
6+
"include": ["dist/Long.js"]
77
},
88
"opts": {
99
"template": "templates/esoccer",

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.1.3",
44
"author": "Daniel Wirtz <dcode@dcode.io>",
55
"description": "A Long class for representing a 64-bit two's-complement integer value.",
6-
"main": "Long.js",
6+
"main": "index.js",
77
"repository": {
88
"type": "git",
99
"url": "https://github.com/dcodeIO/Long.js.git"
@@ -20,8 +20,8 @@
2020
"node": ">=0.6"
2121
},
2222
"scripts": {
23-
"make": "npm run-script compile && npm test && npm run-script jsdoc",
24-
"compile": "ccjs Long.js --compilation_level=ADVANCED_OPTIMIZATIONS --output_wrapper=\"(function(){%output%})();\" > Long.min.js",
23+
"make": "cp src/Long.js dist/Long.js && npm run-script compile && npm test && npm run-script jsdoc",
24+
"compile": "ccjs dist/Long.js --compilation_level=ADVANCED_OPTIMIZATIONS --output_wrapper=\"(function(){%output%})();\" > dist/Long.min.js",
2525
"test": "node node_modules/testjs/bin/testjs tests/suite.js",
2626
"jsdoc": "jsdoc -c jsdoc.json"
2727
}

0 commit comments

Comments
 (0)