Skip to content

raegen/entity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

entity.js

An es6 library for handling models on client-side. I'm writing this as an exercise, in order to learn about es6, so feel free to contribute! :) Some es6 features are missing for now, as they are not handled by babel yet. That forced me (with my current knowledge) to make a couple of ugly workarounds. I will try to fix them along the way.

Installation

  • git clone

  • npm install

  • build

    • I have used browserify/watchify. It's pretty much the fastest way to get it running. Install browserify/watchify, then run:

      • browserify/watchify -v true src/index.js -t babelify --outfile dist/bundle.js (for the front part)
      • browserify/watchify -v true src/entity/model/base/processor/Worker/Worker.js -t babelify --outfile dist/worker.js (for the worker)

    https://babeljs.io/docs/setup/#installation

Usage

The examples will be kept on the repo, with the library, while it's still in progress, and as things will keep changing extensively, any kind of instructions are pointless for now.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License, see License.

Releases

No releases published

Packages

No packages published