0.0.0 • Published 3 years ago

thinner v0.0.0

Weekly downloads
5
License
-
Repository
-
Last release
3 years ago

thinner is built-in on top of router.js:

  • It provides a strong mechanism to handle application states
  • Also provides you with a model-like mechanism for consuming your data

In order to work, thinner needs:

Also you can include RactiveJS and jQuery to provide action handling and data-binding within your views.

Installation

You can install thinner using NPM or Bower, just remember the dependencies for it.

app.js

var app = thinner.setup({
  router: new Router()
}).scope();


thinner(function (module) {
  module.helloWorld = function () {};
  module.helloWorld.prototype.enter = function () {
    console.log('Hello World!');
  };
});

app.router.map(function (match) {
  match('/').to('hello_world');
});

app.run(function () {
  app.go('/');
});

Build Status

0.0.0

3 years ago

0.9.1

3 years ago

0.9.0

3 years ago

0.8.1

3 years ago

0.8.0

3 years ago