Comments (1)
Thanks for your input, and checking out the source 😄
Personally, I don't mind the polyfill method. I'd prefer to code in a modern native syntax, instead of creating helper functions that need to be remembered and learned.
Mozilla Developer Network suggests a polyfill as a fallback solution too, although it contains more complexity than what was required for this package, which is why I chose a simpler polyfill.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf
from angular-acl.
Related Issues (20)
- Can't get it to work
- Can't get it to work HOT 1
- Example with ng-if vs ng-show HOT 4
- dealing with 'is owner' HOT 1
- Does it work with ui-router HOT 8
- user role permissions level HOT 3
- AclService showing old value for "can" HOT 2
- Protect a route HOT 1
- Any plans for angular 2 module HOT 2
- Master branch is not updated with 0.1.8 release code HOT 1
- Cannot read property 'split' of undefined at aclShowWatchAction HOT 7
- Feature request HOT 1
- I always need to reload the page to get correct permission HOT 2
- Error when web storage is disabled
- Use Reverse loop to Improve read Performance;
- syntax error on documentation from Protect a route
- $q is not defined HOT 4
- How to reload the ACL data before routeProvider resolves? HOT 2
- Is there any way make tardy loading ? HOT 4
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-acl.