-
Notifications
You must be signed in to change notification settings - Fork 0
/
playground.js
29 lines (25 loc) · 1.3 KB
/
playground.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/******************************************************************************
* @project sp-tools *
* @description Set of tools for easily life inside of browser *
* @version 0.9.0 *
* @repository https://github.com/digitalhitler/sp-tools *
* *
* @author Sergey Petrenko <spetrenko@me.com> *
* @license Creative Commons Attribution-NonCommercial 4.0 *
* @licenseUrl http://creativecommons.org/licenses/by-nc/4.0/ *
* *
******************************************************************************/
/**
* # playground.js
* File used to test & play with features before publishing
*/
"use strict";
let spTools = require('./v0.10.0/index');
global.SP = new spTools();
console.log(global.SP);
debugger;
console.log(` * SP-tools ${spTools.__spToolsVersion} loaded.`);
console.dir(spTools);
console.log("\n * Testing globalizing...");
SP.Globalize();
console.log(SP.__spToolsVersion + " detected in global scope.");