Giter Site home page Giter Site logo

bvaughn / task-runner Goto Github PK

View Code? Open in Web Editor NEW
34.0 5.0 4.0 2.69 MB

Async utilities for JavaScript application development with a focus on interruptibility and error-handling

Home Page: https://bvaughn.github.io/task-runner

License: Apache License 2.0

JavaScript 58.96% TypeScript 41.04%

task-runner's Introduction

Task Runner Build Status Join the chat at https://gitter.im/bvaughn/task-runner


Official website | API documentation | Report an issue

Task Runner is a collection of low-level libraries designed to make JavaScript application development easier. Check out the Task Runner website for information on working with tasks as well as sample code and demos.

Please feel free to contact me directly with any suggestions or requests!

Installing Task Runner

Task Runner can be installed in any of the following ways:

  • Clone & build this repository.
  • Download a release.
  • Bia Bower, by running bower install task-runner.
  • Via NPM, by running npm install task-runner-js.

Task Runner can be loaded via a <script> tag or used with AMD or CommonJS. If a <script> tag is used the library is registered under a global tr variable.

Debugging Task Runner

Debug logging can be enabled for Task Runner by setting a window.DEBUG environment variable to TRUE.

If debug mode is enabled, tasks will also track the context (stack) when they are created. This information can be accessed using the getCreationContext() method.

Building

Task Runner automated tests

Begin by running npm install to install Karma and other dependencies.

You can then run tests once using:

gulp test

Or you can run tests each time a file in the source or tests directory changes using:

gulp test:watch

Building Task Runner

Begin by running npm install to install the TypeScript compiler and gulp dependencies. Then run the following command from the root of the Task Runner checkout:

gulp build

task-runner's People

Contributors

bvaughn avatar cissyshi avatar j-rewerts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

task-runner's Issues

executeCallbacks() loop error

I kept getting an error saying "Cannot read property 'execute' of undefined" until I changed this line:
for (var i = 0, length = taskCallbacks.length; i < length; i++)
int this:
for (var i = 0; i < taskCallbacks.length; i++)
In Abstract.prototype.executeCallbacks, /dist/task-runner.js, line 261

Please look into this.

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.