An open API service indexing awesome lists of open source software.

https://github.com/optimizely/shortid-test

Simple test case for shortid with PrototypeJS
https://github.com/optimizely/shortid-test

Last synced: 12 months ago
JSON representation

Simple test case for shortid with PrototypeJS

Awesome Lists containing this project

README

          

# shortid-test

Demonstrate an issue with [shortid](https://www.npmjs.com/package/shortid) when used with PrototypeJS 1.6 or earlier.

## Install
```
npm install
```

## Test
Builds (with webpack) and opens test.html, test-prototype.html in browser
```
npm test
```

## Results

### test.html (Without Prototype)
![Test Page, no Prototype JS](demo-noproto.png)

### test-prototype.html (With Prototype 1.6)
![Test Page, with Prototype](demo-proto.png)