GithubHelp home page GithubHelp logo

anikethsaha / rquery Goto Github PK

View Code? Open in Web Editor NEW

This project forked from razorpay/rquery

0.0 1.0 0.0 26.62 MB

₹Query: jQuery modified, made in India, for India, by Indians.

Home Page: https://razorpay.com/rquery

License: Other

JavaScript 94.21% PHP 0.51% HTML 5.07% CSS 0.21%

rquery's Introduction

₹Query — Nationalised, Localised JavaScript for India

A revolutionary web framework designed for truly nationalistic web apps. Since demonetisation and US presidential elections, we knew that ₹ is the future and we can't rely on $ anymore. ₹Query is a drop in replacement for jQuery that allows you to ditch the $ and move to ₹ instantly!

Usage

Including rQuery

To include rQuery, you need to add this line in the head of your HTML:

<script src="//cdn.razorpay.com/rquery.js"></script>

And that's it! You are now all equipped to launch the next bestselling, GMV bragging, nationalistic app!

Writing ₹Query

To start writing in ₹Query, you need a code block like this:

<script type="rupeescript"></script>

Now go ahead and write your heart out:

<script type="rupeescript">
  ('.element').click(function(){
    console.log('Mujhko bhi to lift karade');
  });
</script>

Special Methods

While all methods of jQuery are available in ₹Query too, we are proud to announce some of the most powerful JavaScript methods to be part of any framework.

demonetize

Have you ever wanted to remove an element from all your customers devices, no matter how many have it? demonetize method enables this:

/**
 * To demonetize an element
 */
('.element-selector').demonetize();

/**
 * To demonetize an element on a particular date
 */
('.element-selector').demonetize(1478629800); // 9th November 2016, 00:00:00

Animation

India is land of vibrant culture. Our art forms are varied and finally here's a framework that does justice to it. Introducing Indian animations:

('.element-selector').bhangra();
('.element-selector').bharatnatyam();

We are hard at work to introduce more such methods. Keep watching this space for more!

Credit

While we lament the poor choice of jQuery team in selecting $, we would still like to thank them for all the great work they have done over the years and urge them to move to ₹Query. But seriously, thanks for making web awesome!

License

Pooch mat, uthana hai to utha le.

Disclaimer

Humor is a funny thing. And 1st April is all about that. Our intention isn't to demean any person or event. Pinky promise.

rquery's People

Contributors

jeresig avatar timmywil avatar dmethvin avatar jzaefferer avatar rwaldron avatar markelog avatar brandonaaron avatar gibson042 avatar mgol avatar flesler avatar mikesherov avatar csnover avatar davids549 avatar wycats avatar gnarf avatar louisremi avatar jitter avatar scottgonzalez avatar krinkle avatar rkatic avatar danheberden avatar azatoth avatar cowboy avatar kswedberg avatar jbedard avatar jboesch avatar malsup avatar elijahmanor avatar mathiasbynens avatar pbakaus avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.