@team-monolith/pxt-core 0.1.7 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/built/pxt.js +6 -4
- package/built/pxtlib.js +6 -4
- package/built/target.js +3 -3
- package/built/web/main.js +3 -3
- package/built/web/pxtapp.js +6 -4
- package/built/web/pxtembed.js +6 -4
- package/built/web/pxtlib.js +6 -4
- package/built/web/pxtworker.js +6 -4
- package/package.json +1 -1
package/built/web/pxtapp.js
CHANGED
|
@@ -23265,11 +23265,13 @@ var pxt;
|
|
|
23265
23265
|
(function (pxt) {
|
|
23266
23266
|
var codle;
|
|
23267
23267
|
(function (codle) {
|
|
23268
|
+
/**
|
|
23269
|
+
* document.cookie에서 name에 해당하는 쿠키 값을 가져옵니다.
|
|
23270
|
+
*/
|
|
23268
23271
|
function getCookie(name) {
|
|
23269
|
-
|
|
23270
|
-
|
|
23271
|
-
|
|
23272
|
-
return matches ? decodeURIComponent(matches[1]) : undefined;
|
|
23272
|
+
const cookies = document.cookie.split("; ");
|
|
23273
|
+
const cookie = cookies.find((cookie) => cookie.startsWith(name + "="));
|
|
23274
|
+
return cookie ? decodeURIComponent(cookie.split("=")[1]) : undefined;
|
|
23273
23275
|
}
|
|
23274
23276
|
function getEnv() {
|
|
23275
23277
|
return window.location.hostname === "localhost"
|
package/built/web/pxtembed.js
CHANGED
|
@@ -120946,11 +120946,13 @@ var pxt;
|
|
|
120946
120946
|
(function (pxt) {
|
|
120947
120947
|
var codle;
|
|
120948
120948
|
(function (codle) {
|
|
120949
|
+
/**
|
|
120950
|
+
* document.cookie에서 name에 해당하는 쿠키 값을 가져옵니다.
|
|
120951
|
+
*/
|
|
120949
120952
|
function getCookie(name) {
|
|
120950
|
-
|
|
120951
|
-
|
|
120952
|
-
|
|
120953
|
-
return matches ? decodeURIComponent(matches[1]) : undefined;
|
|
120953
|
+
const cookies = document.cookie.split("; ");
|
|
120954
|
+
const cookie = cookies.find((cookie) => cookie.startsWith(name + "="));
|
|
120955
|
+
return cookie ? decodeURIComponent(cookie.split("=")[1]) : undefined;
|
|
120954
120956
|
}
|
|
120955
120957
|
function getEnv() {
|
|
120956
120958
|
return window.location.hostname === "localhost"
|
package/built/web/pxtlib.js
CHANGED
|
@@ -23259,11 +23259,13 @@ var pxt;
|
|
|
23259
23259
|
(function (pxt) {
|
|
23260
23260
|
var codle;
|
|
23261
23261
|
(function (codle) {
|
|
23262
|
+
/**
|
|
23263
|
+
* document.cookie에서 name에 해당하는 쿠키 값을 가져옵니다.
|
|
23264
|
+
*/
|
|
23262
23265
|
function getCookie(name) {
|
|
23263
|
-
|
|
23264
|
-
|
|
23265
|
-
|
|
23266
|
-
return matches ? decodeURIComponent(matches[1]) : undefined;
|
|
23266
|
+
const cookies = document.cookie.split("; ");
|
|
23267
|
+
const cookie = cookies.find((cookie) => cookie.startsWith(name + "="));
|
|
23268
|
+
return cookie ? decodeURIComponent(cookie.split("=")[1]) : undefined;
|
|
23267
23269
|
}
|
|
23268
23270
|
function getEnv() {
|
|
23269
23271
|
return window.location.hostname === "localhost"
|
package/built/web/pxtworker.js
CHANGED
|
@@ -120956,11 +120956,13 @@ var pxt;
|
|
|
120956
120956
|
(function (pxt) {
|
|
120957
120957
|
var codle;
|
|
120958
120958
|
(function (codle) {
|
|
120959
|
+
/**
|
|
120960
|
+
* document.cookie에서 name에 해당하는 쿠키 값을 가져옵니다.
|
|
120961
|
+
*/
|
|
120959
120962
|
function getCookie(name) {
|
|
120960
|
-
|
|
120961
|
-
|
|
120962
|
-
|
|
120963
|
-
return matches ? decodeURIComponent(matches[1]) : undefined;
|
|
120963
|
+
const cookies = document.cookie.split("; ");
|
|
120964
|
+
const cookie = cookies.find((cookie) => cookie.startsWith(name + "="));
|
|
120965
|
+
return cookie ? decodeURIComponent(cookie.split("=")[1]) : undefined;
|
|
120964
120966
|
}
|
|
120965
120967
|
function getEnv() {
|
|
120966
120968
|
return window.location.hostname === "localhost"
|