Skip to content

Commit 8a6dd34

Browse files
committed
generate uuid with prefix u (previous version had some bugs)
1 parent 8629f53 commit 8a6dd34

File tree

270 files changed

+521
-521
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

270 files changed

+521
-521
lines changed

src/api_block/block.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ define([
330330
*/
331331
this.type = type; // this 블럭의 타입 값 (type은 class : 1, def: 2, if: 3 ...)
332332
this.childBlockUUIDList = []; // vpnote 저장용 데이터
333-
this.uuid = vpCommon.getUUID(); // this 블럭의 고유 값
333+
this.uuid = 'u' + vpCommon.getUUID(); // this 블럭의 고유 값
334334
this.direction = BLOCK_DIRECTION.NONE; // this 블럭의 위치 값.
335335
// 위치는 this 블럭의 부모로 부터 DOWN, INDENT인지 결정됨
336336

src/api_block/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ define([
3333
// document.getElementsByTagName("head")[0].appendChild(link);
3434
// 컨테이너에서 전달된 callback 함수가 존재하면 실행.
3535
if (typeof(callback) == 'function') {
36-
var uuid = vpCommon.getUUID();
36+
var uuid = 'u' + vpCommon.getUUID();
3737
// 최대 10회 중복되지 않도록 체크
3838
for (var idx = 0; idx < 10; idx++) {
3939
// 이미 사용중인 uuid 인 경우 다시 생성
4040
if ($(vpConst.VP_CONTAINER_ID).find("." + uuid).length > 0) {
41-
uuid = vpCommon.getUUID();
41+
uuid = 'u' + vpCommon.getUUID();
4242
}
4343
}
4444
$(vpCommon.wrapSelector(`#${vpConst.OPTION_GREEN_ROOM}`)).find(`.${vpConst.API_OPTION_PAGE}`).addClass(uuid);

src/common/component/vpComComponent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ define([
1919
* 컨트롤 uuid 생성
2020
*/
2121
vpComComponent.prototype.setUUID = function() {
22-
this._UUID = vpCommon.getUUID();
22+
this._UUID = 'u' + vpCommon.getUUID();
2323
}
2424

2525
/**

src/common/component/vpVarSelector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ define([
2323
$(this.wrapSelector('.vp-vs-tester')).html(varSelector.render());
2424
*/
2525
var VarSelector = function(dataTypes, defaultType='', showOthers=true, useTyping=true) {
26-
this.uuid = vpCommon.getUUID();
26+
this.uuid = 'u' + vpCommon.getUUID();
2727
this.label = {
2828
'others': 'Others',
2929
'typing': 'Typing'

src/common/vpFileNavigation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ define([
2626
* @constructor
2727
*/
2828
var FileNavigation = function(type, state) {
29-
this.uuid = vpCommon.getUUID();
29+
this.uuid = 'u' + vpCommon.getUUID();
3030
this.type = type;
3131
// state types
3232
this.state = {

src/common/vpFrameEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ define([
8888
var FrameEditor = function(pageThis, targetId) {
8989
this.pageThis = pageThis;
9090
this.targetId = targetId;
91-
this.uuid = vpCommon.getUUID();
91+
this.uuid = 'u' + vpCommon.getUUID();
9292

9393
this.renderButton();
9494

src/common/vpInstanceEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ define([
4141
var InstanceEditor = function(pageThis, targetId, containerId='vp-wrapper', popup=false) {
4242
this.pageThis = pageThis;
4343
this.targetId = targetId;
44-
this.uuid = vpCommon.getUUID();
44+
this.uuid = 'u' + vpCommon.getUUID();
4545
this.containerId = containerId;
4646
this.popup = popup;
4747

src/common/vpPopupPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ define([
2626
var PopupPage = function(pageThis, targetId) {
2727
this.pageThis = pageThis;
2828
this.targetId = targetId;
29-
this.uuid = vpCommon.getUUID();
29+
this.uuid = 'u' + vpCommon.getUUID();
3030

3131
this.config = {
3232
title: '',

src/common/vpSnippets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ define([
3636
var Snippets = function(pageThis, targetId) {
3737
this.pageThis = pageThis;
3838
this.targetId = targetId;
39-
this.uuid = vpCommon.getUUID();
39+
this.uuid = 'u' + vpCommon.getUUID();
4040

4141
this.state = {
4242

src/common/vpSubsetEditor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ define([
117117
var SubsetEditor = function(pageThis, targetId, useInputVariable=false) {
118118
this.pageThis = pageThis;
119119
this.targetId = targetId;
120-
this.uuid = vpCommon.getUUID();
120+
this.uuid = 'u' + vpCommon.getUUID();
121121
this.useInputVariable = useInputVariable;
122122

123123
// specify pandas object types

0 commit comments

Comments
 (0)