Comments (2)
Added support for CommonJS and browser globals.
from rivets.
Please add two more lines so that AMD modules are also supported.
Change:
if module?
module.exports = rivets
else
@rivets = rivets
To:
if module?
module.exports = rivets
else if define?.amd
define([], rivets)
else
@rivets = rivets
from rivets.
Related Issues (20)
- Is there any way to use WC3 valid attributes for rivets? HOT 2
- rv-value does not get applied on bind for input type range HOT 2
- Add components dynamically in rivets.js not working
- the rv-show doesn't work in this case
- View don't update when use [].pop.call(thisObj) to change array model.
- Link to dist on website is broken
- Not working on mobile HOT 1
- Including jQuery AFTER rivets breaks rv-value binder HOT 1
- DOM not updating when model changes on onclick HOT 4
- Reset a binding before updating it?
- Error in specific scenario
- Databinding to an instance of a class works in Chrome, but not any other browser HOT 1
- Why not use VueJs? HOT 2
- Release of tinybind 1.0 HOT 1
- How to bind the change event of input using lastest rivets
- Passing identical data into binders and getting different results HOT 1
- rv- breaks if we add to document HOT 1
- Separate scopes / do not pollute global "rivets" configuration
- Cart quantity error
- Get Callback when component args change
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rivets.