We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5df3f0c + 65ec96f commit ba48363Copy full SHA for ba48363
CCBoot.js
@@ -1797,6 +1797,16 @@ cc._initSys = function (config, CONFIG_KEY) {
1797
str += "platform : " + self.platform + "\r\n";
1798
cc.log(str);
1799
}
1800
+
1801
+ /**
1802
+ * Open a url in browser
1803
+ * @memberof cc.sys
1804
+ * @name openURL
1805
+ * @param {String} url
1806
+ */
1807
+ sys.openURL = function(url){
1808
+ window.open(url);
1809
+ }
1810
};
1811
1812
//+++++++++++++++++++++++++something about sys end+++++++++++++++++++++++++++++
0 commit comments