Skip to content

Commit

Permalink
Ensure that set_height doesn't cash a string
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazerbeak12345 committed Feb 18, 2022
1 parent 5d3b7de commit fb2487b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pixelmanipulator",
"version": "4.6.0",
"version": "4.6.1",
"description": "Run any cellular automata on an html5 canvas.",
"main": "pixelmanipulator.js",
"repository": "[email protected]:Lazerbeak12345/pixelmanipulator.git",
Expand Down
6 changes: 3 additions & 3 deletions pixelmanipulator.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// Concerning the function commments, # is number, [] means array, {} means object, () means function, true means boolean and, "" means string. ? means optional, seperated with : means that it could be one or the other
(function(g) {
'use strict';
var pxversion="4.6.0";
var pxversion="4.6.1";
function pix(require,exports,module) {//done like this for better support for things like require.js and Dojo
/*function ret(v) {
return (function() {
Expand All @@ -43,14 +43,14 @@
},
set_width:function(value){
innerP.canvas.width=value
innerP._width=value
innerP._width=value-0
},
get_height:function(){
return innerP._height
},
set_height:function(value){
innerP.canvas.height=value
innerP._height=value
innerP._height=value-0
},
row:0,
//__oldDraw:false,
Expand Down

0 comments on commit fb2487b

Please sign in to comment.