marcomontalbano
released this
Added support for jQuery v3.5.x
Assets
2
marcomontalbano
released this
Fix Security Alerts
- lodash - Upgrade
lodash
to version 4.17.13 or later.
Assets
2
marcomontalbano
released this
- update npm dependencies
- replace
http-server
withserve
npm start
starts the demo.
Assets
2
marcomontalbano
released this
- Moved from Yarn to NPM
- Updated dependencies
- Added support for jQuery v3.4.x
Assets
2
marcomontalbano
released this
Added support for jQuery v3.3.x
Assets
2
marcomontalbano
released this
Updated dependencies
Assets
2
marcomontalbano
released this
jCreate now pass data to the handler in event.data when the event is triggered.
Assets
2
marcomontalbano
released this
Development upgrade
- added
pre-commit
hook to build the project before commit - adde setup instruction for yarn
- refactored unit tests
- updated
grunt-contrib-uglify
to v3.x - updated README.md with npm package
- replaced webserver.js project with
http-server
- removed
grunt-contrib-copy
Assets
2
marcomontalbano
released this
Added jquery-jcreate to npm registry
Assets
2
Added support for npm, Yarn, UMD.
Yarn and npm
You can install jCreate using Yarn or npm:
# yarn
yarn add jquery-jcreate
# npm
npm install --save jquery-jcreate
Webpack 2
import $ from 'jquery';
import 'jquery-jcreate';
$(document).on('create', '*', function(event) {
console.log( 'created tag: ', event.$currentTarget.prop('tagName') );
});
RequireJS
define(["jquery", "jquery-jcreate"], function( $ ) {
$(document).on('create', '*', function(event) {
console.log( 'created tag: ', event.$currentTarget.prop('tagName') );
});
});
Bower
You can install jCreate using Bower:
bower install --save jquery-jcreate
And now you can include it in you project with a <script>
tag.
<script type="text/javascript" src="jquery.jcreate.min.js"></script>