javascript.util
Advanced tools
Comparing version 0.12.2 to 0.12.3
{ | ||
"name": "javascript.util", | ||
"description": "javascript.util is a port of selected parts of java.util to JavaScript", | ||
"version": "0.12.2", | ||
"version": "0.12.3", | ||
"author": "Björn Harrtell <bjorn@wololo.org>", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
@@ -0,1 +1,3 @@ | ||
# javascript.util | ||
javascript.util is a port of selected parts of java.util to JavaScript which | ||
@@ -11,35 +13,30 @@ main purpose is to ease porting Java code to JavaScript. | ||
Usage | ||
===== | ||
## Usage | ||
Browsers | ||
-------- | ||
### Browsers | ||
Simply include [javascript.util-0.12.0.min.js](https://github.com/bjornharrtell/javascript.util/releases/download/0.12.0/javascript.util-0.12.0.min.js) in your page. | ||
Simply include [javascript.util-0.12.2.min.js](https://github.com/bjornharrtell/javascript.util/releases/download/0.12.3/javascript.util-0.12.3.min.js) in your page. | ||
Node JS | ||
------- | ||
### Node JS | ||
Using NPM a trunk version of javascript.util can be installed with the following: | ||
Install latest released version: | ||
```bash | ||
npm install git://github.com/bjornharrtell/javascript.util.git | ||
npm install javascript.util | ||
``` | ||
A simple code example using javascript.util: | ||
A simple Node JS code example using javascript.util: | ||
```javascript | ||
require("javascript.util"); | ||
var ArrayList = javascript.util.ArrayList; | ||
var array = new ArrayList(); | ||
array.add(1); | ||
var ArrayList = javascript.util.ArrayList; | ||
var array = new ArrayList(); | ||
array.add(1); | ||
``` | ||
Development environment | ||
======================= | ||
## Development environment | ||
Linux or similar is assumed. | ||
Dependencies | ||
------------ | ||
### Dependencies | ||
@@ -49,8 +46,9 @@ * Node JS | ||
* chai (for tests) | ||
* webmake (for browser build) | ||
* Closure compiler (for browser build) | ||
* bower (for dependencies) | ||
* grunt (for builds) | ||
Unit tests | ||
---------- | ||
### Unit tests | ||
Can be run at command line using mocha. | ||
```bash | ||
npm test | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
70878
53