Skip to content

Commit

Permalink
Update Clases.js
Browse files Browse the repository at this point in the history
New libs
  • Loading branch information
Trollhunters501 authored Jan 6, 2024
1 parent 12ae0b3 commit 63ab8bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/Clases.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
load("https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.5/es6-sham.min.js");
load("https://cdn.jsdelivr.net/npm/[email protected]/lib/unorm.min.js");
const Class = function ($superclass, config) {
// All classes have a superclass with the root
// of this $class hierarchy being Object.
var self = function (config) {
let self = function (config) {
// Object.assign or $.extend or ...
config && Object.assign(this, config);
};
Expand Down

0 comments on commit 63ab8bb

Please sign in to comment.