BaseClass
How do I make an baseclass?
What is a baseclass? How do you make a baseclass? This script and codes were developed by Kevin Giguere on 30 November 2022, Wednesday.
BaseClass - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>BaseClass</title>
</head>
<body> <script src="js/index.js"></script>
</body>
</html>
BaseClass - Script Codes JS Codes
(function() { var moduleKeywords, indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; this.kevthunder = {}; moduleKeywords = ['extended', 'included']; this.kevthunder.Module = (function() { function Module() {} Module.prototype.tap = function(name) { var args; args = Array.prototype.slice.call(arguments); if (typeof name === 'function') { name.apply(this, args.slice(1)); } else { this[name].apply(this, args.slice(1)); } return this; }; Module.extend = function(obj) { var key, ref, value; for (key in obj) { value = obj[key]; if (indexOf.call(moduleKeywords, key) < 0) { this[key] = value; } } if ((ref = obj.extended) != null) { ref.apply(this); } return this; }; Module.include = function(obj) { var key, ref, value; for (key in obj) { value = obj[key]; if (indexOf.call(moduleKeywords, key) < 0) { this.prototype[key] = value; } } if ((ref = obj.included) != null) { ref.apply(this); } return this; }; Module.property = function(prop, desc) { var maj; maj = prop.charAt(0).toUpperCase() + prop.slice(1); if (desc["default"] != null) { this.prototype['_' + prop] = desc["default"]; } else { this.prototype['_' + prop] = null; } if (!((desc.get != null) && desc.get === false)) { if (desc.get != null) { this.prototype['get' + maj] = desc.get; } else if (desc.init != null) { this.prototype['init' + maj] = desc.init; this.prototype['get' + maj] = function() { if (this['_' + prop] == null) { this['_' + prop] = this['init' + maj](); } return this['_' + prop]; }; } else { this.prototype['get' + maj] = function() { return this['_' + prop]; }; } desc.get = function() { return this['get' + maj](); }; } if (!((desc.set != null) && desc.set === false)) { if (desc.set != null) { this.prototype['set' + maj] = desc.set; } else if (desc.change != null) { this.prototype['change' + maj] = desc.change; this.prototype['set' + maj] = function(val) { var old; if (this['_' + prop] !== val) { old = this['_' + prop]; this['_' + prop] = val; return this['change' + maj](old); } }; } else { this.prototype['set' + maj] = function(val) { return this['_' + prop] = val; }; } desc.set = function(val) { return this['set' + maj](val); }; } return Object.defineProperty(this.prototype, prop, desc); }; Module.properties = function(properties) { var desc, prop, results; results = []; for (prop in properties) { desc = properties[prop]; results.push(this.property(prop, desc)); } return results; }; return Module; })();
}).call(this);
Developer | Kevin Giguere |
Username | kevthunder |
Uploaded | November 30, 2022 |
Rating | 3 |
Size | 2,816 Kb |
Views | 16,192 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Acronym Generator | 1,197 Kb |
Brawl | 12,068 Kb |
DamagePropagation | 10,559 Kb |
Story | 14,309 Kb |
Giving orders | 9,531 Kb |
Targeting | 12,056 Kb |
Fog of war | 9,808 Kb |
Interactivity | 19,158 Kb |
Pen-Navigation | 3,063 Kb |
Tile Rendering | 7,867 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
A Pen by Moeid Saleem | Moeidsaleem | 1,862 Kb |
Blog Concept 2 | JGallardo | 2,994 Kb |
Addthis_button | Esambino | 1,691 Kb |
Weather App | Kw7oe | 3,162 Kb |
Elephants Full screen site | Orrinward | 3,981 Kb |
Sass Radar | Jlong | 6,887 Kb |
Google Maps API Ground Overlay | Boycetrus | 2,961 Kb |
Css Rotating 3d cubes different speed | Dghez | 2,364 Kb |
Slider | Mohammed-fawzy | 2,634 Kb |
Beveled corners using CSS border attribute | DawsonMediaD | 2,136 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!