Skip to content

Commit da3e18a

Browse files
committed
css fixes
1 parent 1f2f193 commit da3e18a

File tree

5 files changed

+377
-375
lines changed

5 files changed

+377
-375
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"url": "git@github.com/processing-js/processing-js.git"
88
},
99
"main": "processing.min.js",
10-
"bugs": "https://github.com/processing-js/processing-js/issues",
10+
"bugs": "https://github.com/processing-js/processing-js/issues",
1111
"devDependencies": {
1212
"argv": "~0.0.2",
1313
"browserify": "~2.18.1",
@@ -22,5 +22,5 @@
2222
"scripts": {
2323
"test": "node test"
2424
},
25-
"license": "MIT"
25+
"license": "MIT"
2626
}

processing.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ window.Processing = require('./src/')(Browser);
2525
},{"./src/":28}],2:[function(require,module,exports){
2626
module.exports={
2727
"name": "processing-js",
28-
"version": "1.4.12",
28+
"version": "1.4.13",
2929
"author": "Processing.js",
3030
"repository": {
3131
"type": "git",
3232
"url": "git@github.com/processing-js/processing-js.git"
3333
},
3434
"main": "processing.min.js",
35-
"bugs": "https://github.com/processing-js/processing-js/issues",
35+
"bugs": "https://github.com/processing-js/processing-js/issues",
3636
"devDependencies": {
3737
"argv": "~0.0.2",
3838
"browserify": "~2.18.1",
@@ -47,7 +47,7 @@ module.exports={
4747
"scripts": {
4848
"test": "node test"
4949
},
50-
"license": "MIT"
50+
"license": "MIT"
5151
}
5252

5353
},{}],3:[function(require,module,exports){
@@ -498,6 +498,7 @@ module.exports = function PjsConsole(document) {
498498
if(!added) {
499499
document.body.appendChild(style);
500500
document.body.appendChild(e.wrapper);
501+
added = true;
501502
}
502503
var args = Array.prototype.slice.call(arguments);
503504
args.push('<br>');
@@ -2153,7 +2154,7 @@ module.exports = function(options,undef) {
21532154

21542155
// set up the template element
21552156
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;';
21572158
element.innerHTML = "AAAAAAAA";
21582159
document.body.appendChild(element);
21592160
this.template = element;

0 commit comments

Comments
 (0)