flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [12/15] git commit: [flex-asjs] [refs/heads/develop] - forgot to implement JS BrowserWindow class
Date Fri, 22 May 2015 23:04:31 GMT
forgot to implement JS BrowserWindow class


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/cac7be7b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/cac7be7b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/cac7be7b

Branch: refs/heads/develop
Commit: cac7be7bf1549ba0f633186c35e5e2c23521f8cb
Parents: eb3eaba
Author: Alex Harui <aharui@apache.org>
Authored: Fri May 22 15:30:34 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri May 22 16:04:12 2015 -0700

----------------------------------------------------------------------
 .../src/org/apache/flex/core/BrowserWindow.js   | 46 ++++++++++++++++++++
 1 file changed, 46 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/cac7be7b/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserWindow.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserWindow.js b/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserWindow.js
new file mode 100644
index 0000000..029e843
--- /dev/null
+++ b/frameworks/projects/Core/js/src/org/apache/flex/core/BrowserWindow.js
@@ -0,0 +1,46 @@
+/**
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+goog.provide('org_apache_flex_core_BrowserWindow');
+
+
+
+/**
+ * @constructor
+ */
+org_apache_flex_core_BrowserWindow = function() {
+    org_apache_flex_core_BrowserWindow.base(this, 'constructor');
+  };
+
+
+/**
+ * Metadata
+ *
+ * @type {Object.<string, Array.<Object>>}
+ */
+org_apache_flex_core_BrowserWindow.prototype.FLEXJS_CLASS_INFO =
+    { names: [{ name: 'BrowserWindow',
+                qName: 'org_apache_flex_core_BrowserWindow'}]};
+
+
+/**
+ * @expose
+ * @param {string} url The url.
+ * @param {string} options The window name.
+ */
+org_apache_flex_core_BrowserWindow.open = function(url, options) {
+  Window.open(url, options);
+};
+
+


Mime
View raw message