ractivejs / plugin-template Goto Github PK
View Code? Open in Web Editor NEWThe starting point for building new Ractive.js plugins - adaptors, transitions, events, decorators, components and more
The starting point for building new Ractive.js plugins - adaptors, transitions, events, decorators, components and more
I created a Decorator Plugin for Bootstrap Select, inspired by Select2 Decorator
Preview gist: https://gist.github.com/paulocoghi/c1ed53db6adbfa8a1172
It runs well with Ractive 0.6.1 but it is conflicting with 0.7.2, throwing the error when used:
TypeError: this.callback.call is not a function
in ractive.js:2631:4
I apologise since I am a beginner and still have to improve a lot.
I just wanted to state my preference over a much simpler Gruntfile.js
Currently, it's split into many files, using some import mechanism, etc. and feels unintuitive.
https://github.com/ractivejs/plugin-template/blob/master/root/Gruntfile.js
I think an ordinary Gruntfile like this would be better:
https://github.com/ractivejs/Ractive-decorators-sortable/blob/master/Gruntfile.js
I know the first one was explicitly made to avoid that "configuration files can grow unwieldy" when it grows. However, I'd like to point out that most Ractive plugins are fairly simple and require a straightforward build. ...in this case, IMHO, an ordinary Gruntfile would be way simpler and intuitive than its current counterpart.
Hi,
When creating a plugin, I see there are:
adaptator
decorator
event
transition
...but what about a plugin that provides components/widgets?
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.