javascript - JQuery library extraction -


i need extract jquery library. jquery library contain many functions. few functions using library. need remove unnecessary functions library. there easy way this.

short answer: open file , copy&paste out functions need. don't specify ones these are, have job yourself.

long answer: why want this? jquery library makes writing js easier. means written in jquery can done pure js. easier write functions straight out. also, many jquery-methods depend on each other, means can't take 1 out of core , expect work. more difficult that.

and done pointed out, there's no reason doing this. may reduce filesize bit, today's speed downloading minimized library js not take long. if use google's cdn people has cached already.

to sum up: copy&paste if really, have to, suggest not doing it.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -