gd-sprest
Advanced tools
Comparing version 8.1.5 to 8.1.6
@@ -7,3 +7,3 @@ /** | ||
export interface IloadSPCore { | ||
(): PromiseLike<void>; | ||
(additionalLibs?: string[]): PromiseLike<void>; | ||
} |
@@ -8,3 +8,3 @@ "use strict"; | ||
*/ | ||
exports.loadSPCore = function () { | ||
exports.loadSPCore = function (additionalLibs) { | ||
// Return a promise | ||
@@ -14,2 +14,7 @@ return new Promise(function (resolve) { | ||
var libs = ["init", "MicrosoftAjax", "SP.Runtime", "SP", "SP.Init"]; | ||
// See if we are loading additional libraries | ||
if (additionalLibs && additionalLibs.length > 0) { | ||
// Append the libs | ||
libs = libs.concat(additionalLibs); | ||
} | ||
// Parse the libraries | ||
@@ -16,0 +21,0 @@ var counter = 0; |
@@ -12,3 +12,3 @@ "use strict"; | ||
exports.$REST = { | ||
__ver: 8.15, | ||
__ver: 8.16, | ||
AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); }, | ||
@@ -15,0 +15,0 @@ Apps: Lib.Apps, |
{ | ||
"name": "gd-sprest", | ||
"version": "8.1.5", | ||
"version": "8.1.6", | ||
"description": "An easy way to develop against the SharePoint REST API.", | ||
@@ -5,0 +5,0 @@ "author": "Gunjan Datta <me@dattabase.com> (https://gunjandatta.github.io)", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2579050
31411