dagingaa / dagingaa.github.com Goto Github PK
View Code? Open in Web Editor NEWMy GitHub page. WIP.
My GitHub page. WIP.
Sorry if there's a better place for comment, but I didn't find one on your rendered blog or in the source for it.
You have a directive controller which defines methods on $scope, but many times we need to define methods on this
, so that the controller can be used in other directives which get transcluded into the current one. (the controller gets injected as an addl param on the child directive's link function, so long as there is a require parameter of "^parentDirective".
Any idea if there's a way to test these?
My thinking is I may not want to test the controller as it's internals, and so long as I'm testing the behaviors of the directives I'm happy with it from a BDD perspective. If I was aiming for 100% coverage that would be another story.
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.