Gautam Sheth 9d17034205 Updated react-officegraph to GA (#229)
* updated react office graph to GA

* uploaded src folder and the package folder

* updated readme

* again updated readme
2017-06-12 12:34:05 +02:00

22 lines
547 B
JavaScript

"use strict";
var Utils = (function () {
function Utils() {
}
Utils.getUserPhotoUrl = function (userEmail, siteUrl, size) {
if (size === void 0) { size = 'S'; }
return siteUrl + "/_layouts/15/userphoto.aspx?size=" + size + "&accountname=" + userEmail;
};
Utils.trim = function (s) {
if (s && s.length > 0) {
return s.replace(/^\s+|\s+$/gm, '');
}
else {
return s;
}
};
return Utils;
}());
exports.Utils = Utils;
//# sourceMappingURL=Utils.js.map