Last active
August 29, 2015 13:57
-
-
Save sirpengi/9865278 to your computer and use it in GitHub Desktop.
roll20 bug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on("ready", function() { | |
var n = +new Date(); | |
var obj = createObj("rollabletable", { | |
name: String(n) | |
}); | |
obj.set("name", "post_" + n); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on("ready", function() { | |
var n = +new Date(); | |
var obj = createObj("rollabletable", { | |
name: String(n) | |
}); | |
//obj.set("name", "post_" + n); | |
setTimeout(function() { | |
var objb = findObjs({ | |
_type: "rollabletable", | |
name: String(n) | |
}); | |
objb[0].set("name", "post_" + n); | |
}, 10000); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on("ready", function() { | |
var n = +new Date(); | |
var obj = createObj("rollabletable", { | |
name: String(n) | |
}); | |
//obj.set("name", "post_" + n); | |
var objb = findObjs({ | |
_type: "rollabletable", | |
name: String(n) | |
}); | |
objb[0].set("name", "post_" + n); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on("ready", function() { | |
var n = +new Date(); | |
var obj = createObj("rollabletable", { | |
name: String(n) | |
}); | |
try { | |
obj.set({ | |
"name": "post_" + n | |
}); | |
} catch (e) { | |
log(e.name); | |
log(e.message); | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on("ready", function() { | |
var n = +new Date(); | |
var obj = createObj("rollabletable", { | |
name: String(n) | |
}); | |
obj.set({ | |
"name": "post_" + n | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment