@@ -25,14 +25,14 @@ window.Processing = require('./src/')(Browser);
25
25
},{"./src/":28}],2:[function(require,module,exports){
26
26
module.exports={
27
27
"name": "processing-js",
28
- "version": "1.4.12 ",
28
+ "version": "1.4.13 ",
29
29
"author": "Processing.js",
30
30
"repository": {
31
31
"type": "git",
32
32
"url": "git@github.com/processing-js/processing-js.git"
33
33
},
34
34
"main": "processing.min.js",
35
- "bugs": "https://github.com/processing-js/processing-js/issues",
35
+ "bugs": "https://github.com/processing-js/processing-js/issues",
36
36
"devDependencies": {
37
37
"argv": "~0.0.2",
38
38
"browserify": "~2.18.1",
@@ -47,7 +47,7 @@ module.exports={
47
47
"scripts": {
48
48
"test": "node test"
49
49
},
50
- "license": "MIT"
50
+ "license": "MIT"
51
51
}
52
52
53
53
},{}],3:[function(require,module,exports){
@@ -498,6 +498,7 @@ module.exports = function PjsConsole(document) {
498
498
if(!added) {
499
499
document.body.appendChild(style);
500
500
document.body.appendChild(e.wrapper);
501
+ added = true;
501
502
}
502
503
var args = Array.prototype.slice.call(arguments);
503
504
args.push('<br>');
@@ -2153,7 +2154,7 @@ module.exports = function(options,undef) {
2153
2154
2154
2155
// set up the template element
2155
2156
var element = document.createElement("span");
2156
- element.style.cssText = 'position: absolute; top: 0 ; left: 0; opacity: 0; font-family: "PjsEmptyFont", fantasy;';
2157
+ element.style.cssText = 'position: absolute; top: -1000 ; left: 0; opacity: 0; font-family: "PjsEmptyFont", fantasy;';
2157
2158
element.innerHTML = "AAAAAAAA";
2158
2159
document.body.appendChild(element);
2159
2160
this.template = element;
0 commit comments