The vanilla version has been committed as part of #444344: jQuery .once() method for adding behaviors once. All the other javascript files are minified in core (the YUI compressor can be used for that).

CommentFileSizeAuthor
#1 issue-564504.patch3.77 KBlilou

Comments

lilou’s picture

Status: Active » Needs review
StatusFileSize
new3.77 KB

I use YUI Compressor 2.4.2 : http://refresh-sf.com/yui/

before : 3118
after : 357
compression ratio : 89%

sun’s picture

Status: Needs review » Closed (won't fix)

Thanks, but...

As of now, the current state of the jquery.once.js "library" is not clear. True is, it started as a independent library. But we altered it to quite some extent before putting it into core. And I'm not entirely not sure whether we won't alter it further in the future.

To alter it, we need the original code in core.

sobi3ch’s picture

@sun: something changed from last comment?

sun’s picture

Nope.