Comments (10)
@btford, would this functionality be implemented in angular-hint, or should it be a separate module?
from angular-hint.
Although this isn't quite the same functionality of hint-dom, they both relate to controller best practices. It seems like to avoid having an unnecessary amount of angular-hint-* modules, we should consider grouping them together a little differently.
I think this should be a feature in erin's -dom and that we should maybe change the name to hint-controller since it deals more with bad practices of the controller and less about the dom itself. Personally, grouping like this makes more sense to me. Thoughts?
from angular-hint.
@caguillen214 @btford
Actually, this was why I had asked about it being a separate module, since it does sound related to my implementation. Still, I think it is important for angular-hint-dom to convey that the best practice there is about not manipulating the dom. I'm not sure what the compromise should be there. @btford thoughts?
from angular-hint.
I think it would be better to have this as a separate module for a variety of reasons:
- angular-hint-dom has a performance impact
- conceptually this is a different warning
There are a few different "best practices" for controllers, so I'm thinking this could be the start of an angular-hint-controllers repo
from angular-hint.
I think another module sounds right to me. I will look into implementing this feature.
from angular-hint.
My local repository for beginning development: https://github.com/ealtenho/hint-controller
from angular-hint.
Initial module: ealtenho/hint-controller@6f141d9
from angular-hint.
@btford, I think I have a working prototype of this feature, but I'm concerned my tests are insufficient: ealtenho/hint-controller#2. I'm also unsure of how we plan to integrate this with other angular-hint repositories?
from angular-hint.
from angular-hint.
I believe this has been addressed and should be closed
from angular-hint.
Related Issues (20)
- RFC: Improving hints related to $parse HOT 1
- causing infinite digests on angular material wesbite
- $watch override makes one-time bindings in expressions to never clear the associated watch HOT 2
- Incorrectly reports digest time HOT 2
- TypeError: Cannot read property 'name' of undefined at module.exports HOT 15
- Error when loading angular-hint with requirejs HOT 7
- Validate directive / component definition HOT 1
- Script Error in requirejs environment, cannot load angular-hint. HOT 2
- Not seeing any warning /Error on console.
- Log / Warn for naming collisions in registerables (directives, controllers, filters etc.)
- hint.js giving error, Cannot read property 'name' of undefined HOT 2
- A semicolon error
- dist angular-hint.js file to be used without requirejs? HOT 7
- NPM install fails HOT 1
- Reconsidering bower? HOT 4
- humanReadableWatchExpression error on app load HOT 2
- Why controllers, dom and directives not working? HOT 1
- "$event is undefined"
- Unexpected end of expression when using 'angular-ui-bootstrap' HOT 4
- A bower-angular-hint would be nice HOT 1
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 angular-hint.