gd-sprest
Advanced tools
Comparing version 7.4.9 to 7.5.0
@@ -57,4 +57,11 @@ "use strict"; | ||
var color = colors[i]; | ||
var key = color.getAttribute("name"); | ||
var value = color.getAttribute("value"); | ||
// See if the length is > 6 characters | ||
if (value.length > 6) { | ||
// Convert the value | ||
value = value.slice(2, 8) + value[0] + value[1]; | ||
} | ||
// Add the color information | ||
themeInfo[color.getAttribute("name")] = "#" + color.getAttribute("value"); | ||
themeInfo[key] = "#" + value; | ||
} | ||
@@ -61,0 +68,0 @@ // Resolve the request |
@@ -11,3 +11,3 @@ "use strict"; | ||
exports.$REST = { | ||
__ver: 7.49, | ||
__ver: 7.50, | ||
AppContext: function (siteUrl) { return Lib.Site.getAppContext(siteUrl); }, | ||
@@ -14,0 +14,0 @@ Apps: Lib.Apps, |
{ | ||
"name": "gd-sprest", | ||
"version": "7.4.9", | ||
"version": "7.5.0", | ||
"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
2471256
28918