Giter VIP home page Giter VIP logo

batman's Introduction

batman.js

batman.js is a framework for building rich single-page browser applications.

It's got:

To find out more or get started with batman.js, check out the website: http://batmanjs.org.

Contributing Build Status

Well-tested contributions are always welcome! Here's what you should do:

1. Clone the repo

git clone [email protected]:batmanjs/batman.git

2. Install dependencies using NPM

npm install
npm install -g gulp

If you don't already have Node.js, the installation instructions are here.

3. Run the tests

batman.js uses karma and QUnit for orchestrating tests.

To run the tests, run the following command from the project root:

gulp # starts webpack & karma

Assuming you have Chrome installed, it should automatically open and start running the tests. The test outcome will appear in your terminal.

4. Write some test-driven code

The tests are in tests/batman. All test files in there are automatically picked up and run.

5. Update the documentation

The API documentation is written using literate CoffeeScript.

The API documentation includes its own set of tests, which serves as both an assurance that the API hasn't broken, as well as a set of examples for how to use it. These tests need not be comprehensive (that's what the regular tests are for), but should cover the most common use cases. They're automatically run alongside the regular tests, so you don't need to run them manually.

If you want to render the API docs, see the README for batmanjs.github.io.

Please read the README for the docs before writing any.

6. Create a pull request

If it's good code that fits with the goals of the project, we'll merge it in!

Compiling the library

Task Does...
gulp Does it all: starts Karma and watches for changes, running finalize on any change
gulp build compiles files into /dist
gulp finalize runs build and creates minified versions
gulp test starts Karma runner
gulp test:travis finalizes then runs the tests once with PhantomJS

License

batman.js is copyright 2014 by Shopify, released under the MIT License (see LICENSE for details).

batman's People

Contributors

airhorns avatar nickjs avatar pushrax avatar rmosolgo avatar jamesmacaulay avatar angelini avatar kristianpd avatar matthelm avatar ibawt avatar blakemesdag avatar pvande avatar cjoudrey avatar gmalette avatar arjeno avatar jahfer avatar jouh avatar elct9620 avatar snookca avatar elthariel avatar ajb avatar danott avatar ryanjones avatar kmcphillips avatar michaelsp avatar sidonath avatar iangreenleaf avatar nybblr avatar loginx avatar pushmatrix avatar pseudomuto avatar

Watchers

Teng-hao Chang avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.