]> git.proxmox.com Git - extjs.git/blobdiff - extjs/packages/legacy/modern/src/device/browser/Abstract.js
import ExtJS 7.0.0 GPL
[extjs.git] / extjs / packages / legacy / modern / src / device / browser / Abstract.js
index 9badb5cf831c8a081579dbfb5bc4bbe5d417275f..76f255dbea0c58e8027844427e7058d1c17b3d4a 100644 (file)
@@ -1,39 +1,39 @@
-/**\r
- * @private\r
- */\r
-Ext.define('Ext.device.browser.Abstract', {\r
-    /**\r
-     * Used to open a new browser window.\r
-     *\r
-     * When used with Cordova, a new InAppBrowser window opens. With Cordova, you also have the ability\r
-     * to listen when the window starts loading, is finished loading, fails to load, and when it is closed.\r
-     * You can also use the {@link #close} method to close the window, if opened.\r
-     * \r
-     * @param {Object} options\r
-     * The options to use when opening a new browser window.\r
-     *\r
-     * @param {String} options.url\r
-     * The URL to open.\r
-     *\r
-     * @param {Object} options.listeners\r
-     * The listeners you want to add onto the window. Available events are:\r
-     *\r
-     * - `loadstart` - when the window starts loading the URL\r
-     * - `loadstop` - when the window is finished loading the URL\r
-     * - `loaderror` - when the window encounters an error loading the URL\r
-     * - `close` - when the window is closed\r
-     *\r
-     * @param {Boolean} options.showToolbar\r
-     * True to show the toolbar in the browser window.\r
-     *\r
-     * @param {String} options.options\r
-     * A string of options which are used when using Cordova. For a full list of options, visit the \r
-     * [PhoneGap documention](http://docs.phonegap.com/en/2.6.0/cordova_inappbrowser_inappbrowser.md.html#window.open).\r
-     */\r
-    open: Ext.emptyFn,\r
-\r
-    /**\r
-     * Used to close the browser, if one is opened.\r
-     */\r
-    close: Ext.emptyFn\r
-});\r
+/**
+ * @private
+ */
+Ext.define('Ext.device.browser.Abstract', {
+    /**
+     * Used to open a new browser window.
+     *
+     * When used with Cordova, a new InAppBrowser window opens. With Cordova, you also have the ability
+     * to listen when the window starts loading, is finished loading, fails to load, and when it is closed.
+     * You can also use the {@link #close} method to close the window, if opened.
+     * 
+     * @param {Object} options
+     * The options to use when opening a new browser window.
+     *
+     * @param {String} options.url
+     * The URL to open.
+     *
+     * @param {Object} options.listeners
+     * The listeners you want to add onto the window. Available events are:
+     *
+     * - `loadstart` - when the window starts loading the URL
+     * - `loadstop` - when the window is finished loading the URL
+     * - `loaderror` - when the window encounters an error loading the URL
+     * - `close` - when the window is closed
+     *
+     * @param {Boolean} options.showToolbar
+     * True to show the toolbar in the browser window.
+     *
+     * @param {String} options.options
+     * A string of options which are used when using Cordova. For a full list of options, visit the 
+     * [PhoneGap documention](http://docs.phonegap.com/en/2.6.0/cordova_inappbrowser_inappbrowser.md.html#window.open).
+     */
+    open: Ext.emptyFn,
+
+    /**
+     * Used to close the browser, if one is opened.
+     */
+    close: Ext.emptyFn
+});