Пример #1
0
 /// <summary>
 /// Loads the version info file (resources/sap-ui-version.json) asynchronously and returns a Promise. The returned Promise resolves with the version info files content.
 ///
 /// If a library name is specified then the version info of the individual library will be retrieved.
 ///
 /// In case of the version info file is not available an error will occur when calling this function.
 /// </summary>
 /// <param name="mOptions">an object map (see below)</param>
 /// <returns>a Promise which resolves with one of these values: the full version info, the library specific one, undefined if library is not listed or there was an error during loading.</returns>
 public extern static jquery.JQueryPromise <object> load(sap.ui.VersionInfo.LoadOptions mOptions);
Пример #2
0
 /// <summary>
 /// Loads the version info file (resources/sap-ui-version.json) asynchronously and returns a Promise. The returned Promise resolves with the version info files content.
 ///
 /// If a library name is specified then the version info of the individual library will be retrieved.
 ///
 /// In case of the version info file is not available an error will occur when calling this function.
 /// </summary>
 /// <param name="mOptions">an object map (see below)</param>
 /// <returns>a Promise which resolves with one of these values: the full version info, the library specific one, undefined if library is not listed or there was an error during loading.</returns>
 public extern static es5.Promise <object> load(sap.ui.VersionInfo.LoadOptions mOptions);