0.1.5 • Published 10 years ago

jquery-html v0.1.5

Weekly downloads
2
License
-
Repository
github
Last release
10 years ago

jquery-html

A function to get a window and the $ out of an HTML source

Getting Started

Install the module with: npm install jquery-html

var jquery = require('jquery-html');

jquery.create(function(window,$,free)
{
   $('body').append('ciao!');
   console.log(jquery.source(window));
   free();
});

or try with your html

var jquery = require('jquery-html');

jquery.create('<!DOCTYPE html>\n<html><body>ciao!</body></html>',
function(window,$,free)
{
   $('body').append('<div>world</div>');
   console.log(jquery.source(window));
   free();
});

License

Copyright (c) 2013 Andrea Amerigo Aristodemo Gariboldi
Licensed under the MIT license.

0.1.5

10 years ago

0.1.4

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago