mirror of
https://github.com/Acamaeda/The-Modding-Tree.git
synced 2025-04-17 11:11:08 +00:00
Code cleanup
This commit is contained in:
parent
c885114791
commit
335d080f0c
2 changed files with 1 additions and 4 deletions
js/technical
|
@ -214,7 +214,7 @@ function addNode(layerName, layerData){ // Does the same thing, but for non-laye
|
|||
|
||||
// If data is a function, return the result of calling it. Otherwise, return the data.
|
||||
function readData(data, args=null){
|
||||
if (!!(data && data.constructor && data.call && data.apply))
|
||||
if ((!!data && data.constructor && data.call && data.apply))
|
||||
return data(args);
|
||||
else
|
||||
return data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue