oopman / jquery-plugincreator Goto Github PK
View Code? Open in Web Editor NEWA jQuery add-on that makes creating plugins a little easier.
License: MIT License
A jQuery add-on that makes creating plugins a little easier.
License: MIT License
Given plugin A defining the following members:
{
methodA: function () {
//TODO: Do stuff
}
}
Extending plugin A to create plugin B with the following members:
{
methodA: function(optionalParameter, _super) {
//TODO: Do stuff and call _super()
}
}
Attempting to call methodA on an instance of Plugin B with no parameters results in the optionalParameter member receiving the value intended for the _super parameter.
This is a serious issue that breaks non-trivial inheritance usage.
With the decision to implement v2.0.0 of this project it's probably about time to mark the current release of the v0.x line as v1.0.0
v1.0.0 of jQuery PluginCreator will introduce major breaking changes.
The following features/changes are planned:
Given plugin A defining the following members:
{
methodA: function () {
//TODO: Do stuff
}
}
Extending plugin A to create plugin B with the following members:
{
methodA: function(optionalParameter, _super) {
//TODO: Do stuff and call _super()
}
}
Results in plugin A's methodA member being wrapped with the new methodA function intended for plugin B only.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.