Home

Awesome

laroux.js

laroux.js logo

This project is a jQuery substitute for modern browsers and mobile devices. But instead of offering some wrappers and own dynamics, it simply provides helper functions to achieve the same objectives as jQuery or Zepto.

Even though keeping compactness is the primary concern of this library, it does contain lightweight versions of some concepts/components, including MVC.

So far, it has Ajax, Date, Deferred, Events, Helpers, Stack, Templates, Timers, Vars and When components on its core.

Additionally Anim, CSS, DOM, Forms, Keys, MVC and Touch will be available in web bundle.

Build Status Scrutinizer Quality Score Coverage Status

For Users

laroux.js is right for you if you:

Guides

Installation

The latest version is always downloadable from releases page.

The required file (laroux.min.js can also be found at rawgit.com.

Including these files would be enough to start using laroux.js (or laroux.min.js) in your web project. For example:

<script src="//rawgit.com/eserozvataf/laroux.js/master/build/dist/web/laroux.min.js"></script>

Sample Usage


$l.ready(function() {
    var buttons = $l(['.confirm-action']);

    $l.css.setProperty(buttons, 'background-color', 'crimson');
    $l.dom.setEvent(
        buttons,
        'click',
        function(event, element) {
            if (!confirm('Are you sure to do it?')) {
                return false; // cancel event
            }
        }
    );
});

For Developers Who Want To Contribute

Installation

Alternative 1: Zip Package

Download the package and launch npm install && gulp.

Alternative 2: Git

On Terminal or Command Prompt:

git clone https://github.com/eserozvataf/laroux.js project
cd project
npm install
gulp

Requirements

License

See LICENSE

Contributing

See contributors.md

It is publicly open for any contribution. Bugfixes and suggestions are welcome.