Giter Club home page Giter Club logo

jquery-core-nodom's Introduction

jquery-core-nodom

Implementation of jQuery core (subset for now) for running in CocoonJS Javascript runtime and other runtimes with no natural DOM support such as nodejs.

This project is on a very initial stage. Implemented subset is very small. It even has no unit tests yet.

On the other hand this subset is used in HTML5 game engine for quests. So if your codebase depends on jQuery and you are not planing to stop using its very essential features then you can use this project as a point to start.

Project license allows to do anything with it, but don't forget to contribute back.

NodeJS:

Add jquery-nodom to your npm dependencies:

    "dependencies" : { 
        "jquery-core-nodom" : "git+ssh://[email protected]:eabatalov/jquery-nodom.git"
    }, 

Use jQuery from your nodejs code

jQuery = require('jquery-core-nodom/');

Other runtimes:

Clone repository to your file system:

git clone [email protected]:eabatalov/jquery-nodom.git

Include jquery.nodom.js file to your project source file before other code. The way you include depends on the way your runtime loads scripts.

Use $ or jQuery object in your code.

Happy coding!

jquery-core-nodom's People

Contributors

eabatalov avatar

Watchers

 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.