Comments (2)
Since Model.cached is an object, its length property works as expected in Javascript (e.g. it has none). I might even consider removing this from the API, as I see no reason to expose the cache to users. This functionality was really developed to be used internally.
from ngactiveresource.
Worth noting you can now user isEmpty()
as per db2c7a8
from ngactiveresource.
Related Issues (20)
- Root element in json response HOT 1
- lodash dependency
- Custom methods HOT 3
- One sided Association HOT 1
- Comparison to Restangular
- Working directly with cache HOT 2
- Firefox Error: mixinProp is not defined HOT 2
- string.hyphenate() in provider('ARAPI') HOT 4
- TypeError when setting .hasMany in my models HOT 1
- URL parameter for .hasMany relationships
- General usage issues HOT 11
- Using a Serializer & Adapter to interact with custom APIs HOT 1
- Validation rules gets add multiple times HOT 1
- Coffeescript Problems HOT 2
- Function.name property used - fails in IE HOT 1
- Can someone give me a tutorial on how to use .whereURL?
- Any plans to support saving multiple instances at once? HOT 2
- active-support.js is a heavy dependency
- Uncaught TypeError: Cannot read property 'downcase' of undefined HOT 1
- Is this library still under active development? HOT 10
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 ngactiveresource.