Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

eser/laroux.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

laroux.js

This project is a jquery substitute for modern browsers. But instead of offering some wrappers and own dynamics, it simply provides helper functions to achieve the same objectives with jquery or zepto.

Even though keeping compactness is the primary concern of this library, lightweight versions of some concepts/components will be included such as UI elements and MVC.

So far, it has Ajax, Anim, Cookies, CSS, Date, DOM, Events, Forms, Helpers, Stack, Templates, Timers, Triggers and UI components.

Build Status Scrutinizer Quality Score

For Users

Documentation

See wiki page for documentation.

Installation

Download laroux.min.js and laroux.min.css, and include them in your web project.

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 Want To Contribute

Installation

Alternative 1: Zip Package

Download the package and launch npm install.

Alternative 2: Git

On Terminal or Command Prompt:

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

Requirements

License

See LICENSE

Contributing

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

  • Fork the repo, push your changes to your fork, and submit a pull request.
  • If something does not work, please report it using GitHub issues.