mirror of
https://github.com/UnickSoft/graphonline.git
synced 2026-04-08 08:46:03 +00:00
Refactor styles inherent.
This commit is contained in:
@@ -22,3 +22,16 @@ function gDecodeFromHTML(str)
|
||||
.replace(/</g, '<')
|
||||
.replace(/&/g, '&');
|
||||
}
|
||||
|
||||
function FullArrayCopy(arr)
|
||||
{
|
||||
var res = [];
|
||||
|
||||
arr.forEach(function(element) {
|
||||
|
||||
var copyElement = Object.assign(Object.create(element), element);
|
||||
res.push(copyElement);
|
||||
});
|
||||
|
||||
return res;
|
||||
}
|
||||
Reference in New Issue
Block a user