From 69bbd384441d7daaaaff925784e9122c3e8a71cb Mon Sep 17 00:00:00 2001 From: Chi Cheng Date: Sat, 16 Aug 2008 14:45:28 +0000 Subject: [PATCH] init -> _init --- ui/ui.magnifier.js | 2 +- ui/ui.progressbar.js | 2 +- ui/ui.spinner.js | 2 +- ui/ui.tabs.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ui/ui.magnifier.js b/ui/ui.magnifier.js index 2d8bac5d1..2291b414e 100644 --- a/ui/ui.magnifier.js +++ b/ui/ui.magnifier.js @@ -15,7 +15,7 @@ var counter = 0; $.widget("ui.magnifier", { - init: function() { + _init: function() { var self = this, o = this.options; diff --git a/ui/ui.progressbar.js b/ui/ui.progressbar.js index 3ef335adf..0f17dfa5f 100644 --- a/ui/ui.progressbar.js +++ b/ui/ui.progressbar.js @@ -13,7 +13,7 @@ (function($) { $.widget("ui.progressbar", { - init: function() { + _init: function() { $.extend(this.options, { _interval: this.options.interval diff --git a/ui/ui.spinner.js b/ui/ui.spinner.js index 536d3001c..3d17e054d 100644 --- a/ui/ui.spinner.js +++ b/ui/ui.spinner.js @@ -13,7 +13,7 @@ (function($) { $.widget("ui.spinner", { - init: function() { + _init: function() { //Initialize needed constants var self = this; diff --git a/ui/ui.tabs.js b/ui/ui.tabs.js index 0e73484db..3cd1d868a 100644 --- a/ui/ui.tabs.js +++ b/ui/ui.tabs.js @@ -13,13 +13,13 @@ (function($) { $.widget("ui.tabs", { - init: function() { + _init: function() { this.options.event += '.tabs'; // namespace event // create tabs this._tabify(true); }, - setData: function(key, value) { + _setData: function(key, value) { if ((/^selected/).test(key)) this.select(value); else { -- 2.39.5