tangbc / sugar Goto Github PK
View Code? Open in Web Editor NEWA lightweight and powerful JavaScript MVVM library. Used for production or learning how to make a full MVVM.
Home Page: https://github.com/tangbc/sugar/wiki
License: MIT License
A lightweight and powerful JavaScript MVVM library. Used for production or learning how to make a full MVVM.
Home Page: https://github.com/tangbc/sugar/wiki
License: MIT License
你好,请教一下
请问有原生js实现的 compiler.js 、 parser.js 、 watcher.js 、 Observer.js 、 updater.js 吗
如题,试了几次还以为是自己写错了,但却是有这个错误,vue也试了没有这个情况,感觉有点强迫。
提示报错。
@tangbc
内联代码: <td v-on:click=" if (ok) { alert('11'); } else { alert('22'); }">啊啊啊</td>
Uncaught TypeError: scope.alert is not a function
at Object.eval (eval at createAnonymous (mvvm.js:1313), <anonymous>:3:52)
at HTMLTableCellElement.listenerAgent (mvvm.js:1409)
另外我觉得题主这个项目非常厉害。
为什么,因为,其实我是用它来代替 knockout 来用的。我觉得替代或者超越vue几乎很难,但是如果替代或者超越ko却很容易。
另外有没有QQ群 用来交流。。
sugar 有在哪个产品里 应用么?
有什么发展的roadmap么?
RT IE8能支持么。
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.