r3518 committed - Update resizable for new widget factory.
Revision: 3518
Author: scott.gonzalez
Date: Tue Dec 22 20:00:52 2009
Log: Update resizable for new widget factory.
http://code.google.com/p/jquery-ui/source/detail?r=3518
Modified:
/branches/dev/ui/jquery.ui.resizable.js
=======================================
--- /branches/dev/ui/jquery.ui.resizable.js Tue Dec 22 19:37:18 2009
+++ /branches/dev/ui/jquery.ui.resizable.js Tue Dec 22 20:00:52 2009
@@ -15,7 +15,24 @@
(function($) {
$.widget("ui.resizable", $.ui.mouse, {
-
+ options: {
+ alsoResize: false,
+ animate: false,
+ animateDuration: "slow",
+ animateEasing: "swing",
+ aspectRatio: false,
+ autoHide: false,
+ containment: false,
+ ghost: false,
+ grid: false,
+ handles: "e,s,se",
+ helper: false,
+ maxHeight: null,
+ maxWidth: null,
+ minHeight: 10,
+ minWidth: 10,
+ zIndex: 1000
+ },
_init: function() {
var self = this, o = this.options;
@@ -502,25 +519,7 @@
$.extend($.ui.resizable, {
version: "@VERSION",
- eventPrefix: "resize",
- defaults: $.extend({}, $.ui.mouse.defaults, {
- alsoResize: false,
- animate: false,
- animateDuration: "slow",
- animateEasing: "swing",
- aspectRatio: false,
- autoHide: false,
- containment: false,
- ghost: false,
- grid: false,
- handles: "e,s,se",
- helper: false,
- maxHeight: null,
- maxWidth: null,
- minHeight: 10,
- minWidth: 10,
- zIndex: 1000
- })
+ eventPrefix: "resize"
});
/*
--