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
Post a Comment