From 6d595d347c6d454edc4749333edd413e9640a99d Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Fri, 6 Sep 2013 09:25:05 -0700 Subject: Adjust API so that "public" functions don't start with _ Also, since the functions will likely be translated into C in the future, give_them_underscored_names insteadOfCamelCase, in order to avoid API changes. [endlessm/eos-sdk#290] --- test/webhelper/smoke-tests/webview.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/webhelper/smoke-tests/webview.js b/test/webhelper/smoke-tests/webview.js index 681de20..c3c7dd5 100644 --- a/test/webhelper/smoke-tests/webview.js +++ b/test/webhelper/smoke-tests/webview.js @@ -116,12 +116,12 @@ const TestApplication = new Lang.Class({ Lang.bind(this, function (web_view, status) { if (web_view.load_status == WebKit.LoadStatus.FINISHED) { // now we translate to Brazilian Portuguese - this._translateHTML (web_view, 'pt_BR'); + this.translate_html(web_view); } })); this._webview.connect('navigation-policy-decision-requested', - Lang.bind(this, this._onNavigationRequested)); + Lang.bind(this, this.web_actions_handler)); this._page1 = new Gtk.ScrolledWindow(); this._page1.add(this._webview); -- cgit v1.2.3