andyli / jQueryExternForHaxe

Unleash the full power of jQuery in Haxe.
http://lib.haxe.org/p/jQueryExtern
65 stars 12 forks source link

jQuery 1.8 updates #5

Closed skial closed 12 years ago

skial commented 12 years ago

Hello!

I've made some changes which should allow jQuery 1.8 compatibility when its released. I think I've made all 1.8 changes, but I may have missed some.

Let me know if something needs fixing!

Skial

Changes listed below :

test.html updated to use jquery1.8 pre release js file.

All changes in JQuery.hx are wrapped in JQUERY1_8 tags.

Append, prepend, after and before method sigs updated to 1.8 sigs. added pre1.8 sigs as well in favor of Dynamic.

error, load and unload are now pre 1.8 only.

outerWidth and outerHeight can now be set. @:overload added to each.

size() has been removed in jquery1.8, so its been made inline to return length instead.

toggle(handler, handler) has been removed. Sigs have been updated.

added parseHTML() method

browser has been removed.

Deferred isResolved and isRejected have been removed.
andyli commented 12 years ago

Very nice! I will wait for the jQuery 1.8 release and double check with its change log.

skial commented 12 years ago

I will wait for the jQuery 1.8 release and double check with its change log.

I thought the same.

Thanks for the merge!

Skial