init -> _init

This commit is contained in:
Chi Cheng 2008-08-16 14:45:28 +00:00
parent 4f55751d8a
commit 69bbd38444
4 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@
var counter = 0; var counter = 0;
$.widget("ui.magnifier", { $.widget("ui.magnifier", {
init: function() { _init: function() {
var self = this, var self = this,
o = this.options; o = this.options;

View File

@ -13,7 +13,7 @@
(function($) { (function($) {
$.widget("ui.progressbar", { $.widget("ui.progressbar", {
init: function() { _init: function() {
$.extend(this.options, { $.extend(this.options, {
_interval: this.options.interval _interval: this.options.interval

View File

@ -13,7 +13,7 @@
(function($) { (function($) {
$.widget("ui.spinner", { $.widget("ui.spinner", {
init: function() { _init: function() {
//Initialize needed constants //Initialize needed constants
var self = this; var self = this;

View File

@ -13,13 +13,13 @@
(function($) { (function($) {
$.widget("ui.tabs", { $.widget("ui.tabs", {
init: function() { _init: function() {
this.options.event += '.tabs'; // namespace event this.options.event += '.tabs'; // namespace event
// create tabs // create tabs
this._tabify(true); this._tabify(true);
}, },
setData: function(key, value) { _setData: function(key, value) {
if ((/^selected/).test(key)) if ((/^selected/).test(key))
this.select(value); this.select(value);
else { else {