Jails

Elegant and Minimalistic Javascript Application Library

MIT License

Downloads
433
Stars
180
Committers
5

Bot releases are hidden (Show)

Jails - Jails 1.4 ( Theseus )

Published by Javiani over 8 years ago

  • Code refactory ( Protototyped based inheritance )
  • Removing .off() method, it's now a returned function from called .on() method.
  • Added unsubscribe on pub/sub, it's now a returned function from subscribe() method.
  • Exposed .App(), Component(), Controller classes.
  • Improving destroy
  • Publishing jails:ready
  • Deprecated .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'])
Jails - Jails 1.4 ( Theseus )

Published by Javiani over 8 years ago

📎 Changes

  • Refactoring
  • Speed Optimizations
  • Prototype inheritance on common methods and properties.
  • Controller and Component Prototype classes exposed, now it's possible to overload methods. Useful for Logging tools and etc.
  • Jails.render method improved, firing destroy custom event for every jails modules.
  • New .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.
  • Improving delegation on focus() and blur() events.
Jails - 1.3.3

Published by Javiani over 8 years ago

  • [FIX] - Adding support for names containing slash in annotations.

Use case:

[JS]

jails.component('folder/mycomponent', function(){})

[HTML]

<section data-component="folder/mycomponent"></section>
Jails - [ FIX ] - UMD error code

Published by Javiani over 8 years ago

  • UMD closure was requiring Jails instead of defining it.
Jails - [ Fix ] Scroll Bottom

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.

Jails - Cadmus

Published by Javiani over 8 years ago

  • Adding namespace support for public methods. It's now possible to discriminate which component should respond to an event method calling.

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
...

Jails - Narcissus

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.

  • Changing Jails from AMD to UMD format
  • Changing ready class to jls-ready class on the documentElement when Jails is ready.
  • Changing multiple components reference, moving from comma to spaces to be more HTML standard compliant.
Jails - 1.1.1

Published by Javiani over 8 years ago

Oedipus

Bug fixing

.off() method was present on documentation but not correctly implemented.

Jails - Oedipus

Published by Javiani almost 9 years ago

  • Jails.render() interface
  • Focusin & Focusout feature
Jails - 1.0.5

Published by Javiani almost 9 years ago

  • Fixing annotations missing after Jails.refresh()
  • Intelligent .refresh()
  • Async Publish/Subscribe
  • Event Delegation fixes
Jails - Orpheus

Published by Javiani about 9 years ago

Finally free of jQuery Dependency!

Jails 1.0.0 version is getting more and more simplified, mature and standalone.

  • Builded from scratch using the same philosophy
  • Stand-alone Event Handlers
  • Supporting IE8 and improving potential older browsers by using Adapters
  • Vanilla JS oriented
  • Modules & Components rewritten in Vanilla style and improved
Jails - Achilles

Published by Javiani about 9 years ago

Achilles is the first beta version for production use.

Jails - Mark 1

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.

Jails - Bellerophon

Published by Javiani about 9 years ago

More Modular, Decoupled and Focused on module architecture.

Jails - Theseus

Published by Javiani about 9 years ago

Jails is more Mature, more Reliable and Elegant. Looking for simplicity and flexibility.

  • Improvement on performance, exposed .publish() and .subscribe().
  • Added new pub/sub internally.
  • Refactories