Elegant and Minimalistic Javascript Application Library
MIT License
Bot releases are visible (Hide)
Published by Javiani over 8 years ago
.on()
method.subscribe()
method..App()
, Component()
, Controller
classes.destroy
jails:ready
.x()
method, replaced by .get()
j.get() implementation
//...
this.get('component', 'submitter')
or can be used as x.()
explicit implementation
this.get('[data-component*=submitter'])
Published by Javiani over 8 years ago
Jails.render
method improved, firing destroy
custom event for every jails modules..get
method to reference components and controllers..x()
method now is deprecated, use .get
instead.unsubscribe
function implemented as result of subscribe
calls.off
public instance method was dropped, it's now a returned function of on()
calls.focus()
and blur()
events.Published by Javiani over 8 years ago
[JS]
jails.component('folder/mycomponent', function(){})
[HTML]
<section data-component="folder/mycomponent"></section>
Published by Javiani over 8 years ago
Published by Javiani over 8 years ago
Emergencial fix on focusin and focusout feature detection.
On latest Firefox versions page was scrolled down to bottom on page load.
Published by Javiani over 8 years ago
It is specially usefull when you have more then 1 component in the same markup, and both has methods with equal names.
In this example, box and view components has .update()
public method. To distinguish which one should respond to a method call, you can use namespaces.
<div class="my-component" data-component="box view"></div>
controller.js
...
var component = this.x('.my-component');
component('box:update'); // Should execute .update() from box component
component('view:update'); // Should execute .update() from view component
component('update'); // Should execute .update() from both components
...
Published by Javiani over 8 years ago
Jails is being very stable, very clean for a long time now, Narcissus version is all about it's beauty and looking.
ready
class to jls-ready
class on the documentElement when Jails is ready.Published by Javiani over 8 years ago
.off() method was present on documentation but not correctly implemented.
Published by Javiani almost 9 years ago
Published by Javiani almost 9 years ago
Published by Javiani about 9 years ago
Jails 1.0.0 version is getting more and more simplified, mature and standalone.
Published by Javiani about 9 years ago
Achilles is the first beta version for production use.
Published by Javiani about 9 years ago
The first attempt to solve all the mistakes from the past, by creating a new framework.
It borns the new Jails idea, an AMD framework that relates modules and components of an application.
Published by Javiani about 9 years ago
More Modular, Decoupled and Focused on module architecture.
Published by Javiani about 9 years ago
Jails is more Mature, more Reliable and Elegant. Looking for simplicity and flexibility.