mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
fixed movieclip speed/fps bug. fixes #35
This commit is contained in:
parent
5caa21f453
commit
93680e3286
9 changed files with 60 additions and 29 deletions
22
app/Lib/Utilities/Channel/Extensions.js
Normal file
22
app/Lib/Utilities/Channel/Extensions.js
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
define([
|
||||
"Lib/Utilities/Core/Extensions"
|
||||
],
|
||||
|
||||
function (Parent) {
|
||||
|
||||
//"use strict";
|
||||
|
||||
console.checkpoint = function (s) {
|
||||
console.log(" \033[32mbeep - \033[0m" + s);
|
||||
}
|
||||
|
||||
console.warn = function (s) {
|
||||
console.log(" \033[33mwarn - \033[0m" + s);
|
||||
}
|
||||
|
||||
console.error = function (s) {
|
||||
console.log(" \033[31merror - \033[0m" + s);
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
9
app/Lib/Utilities/Client/Extensions.js
Normal file
9
app/Lib/Utilities/Client/Extensions.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
define([
|
||||
"Lib/Utilities/Core/Extensions",
|
||||
"Lib/Vendor/Pixi"
|
||||
],
|
||||
|
||||
function (Parent, PIXI) {
|
||||
|
||||
"use strict";
|
||||
});
|
||||
12
app/Lib/Utilities/Core/Extensions.js
Executable file
12
app/Lib/Utilities/Core/Extensions.js
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
define([
|
||||
],
|
||||
|
||||
function () {
|
||||
|
||||
"use strict";
|
||||
|
||||
String.prototype.toUpperCaseFirstChar = function () {
|
||||
var f = this.charAt(0).toUpperCase();
|
||||
return f + this.substr(1);
|
||||
}
|
||||
});
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
define([
|
||||
],
|
||||
|
||||
function() {
|
||||
|
||||
String.prototype.toUpperCaseFirstChar = function () {
|
||||
var f = this.charAt(0).toUpperCase();
|
||||
return f + this.substr(1);
|
||||
}
|
||||
|
||||
if(typeof process !== 'undefined') {
|
||||
|
||||
console.checkpoint = function (s) {
|
||||
console.log(' \033[32mbeep - \033[0m' + s);
|
||||
}
|
||||
|
||||
console.warn = function (s) {
|
||||
console.log(' \033[33mwarn - \033[0m' + s);
|
||||
}
|
||||
|
||||
console.error = function (s) {
|
||||
console.log(' \033[31merror - \033[0m' + s);
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue