-
Notifications
You must be signed in to change notification settings - Fork 3
Customized jQuery Version #2
Description
Hi Manzan!
I remember you telling the dependency of jQuery in your project and you sad that we only need jQuery becouse we're using the Ajax Methods of jQuery.
If you take a loot at the jQuery Project on GitHub (https://github.com/jquery/jquery) you should see that we can make our own build of jquery.
If you looking i little bit closer, opening your makefile you can see as above:
BASE_FILES = ${SRC_DIR}/core.js
${SRC_DIR}/callbacks.js
${SRC_DIR}/deferred.js
${SRC_DIR}/support.js
${SRC_DIR}/data.js
${SRC_DIR}/queue.js
${SRC_DIR}/attributes.js
${SRC_DIR}/event.js
${SRC_DIR}/selector.js
${SRC_DIR}/traversing.js
${SRC_DIR}/manipulation.js
${SRC_DIR}/css.js
${SRC_DIR}/ajax.js
${SRC_DIR}/ajax/jsonp.js
${SRC_DIR}/ajax/script.js
${SRC_DIR}/ajax/xhr.js
${SRC_DIR}/effects.js
${SRC_DIR}/offset.js
${SRC_DIR}/dimensions.js
${SRC_DIR}/exports.js
Maybe we can generate a lightweight version of jQuery with only the core/events/ajax methods of jQuery and test with will.js, what do you think?
Sounds good, right? :)