Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'getItem' property error in IE 10? #17

Open
sidunn opened this issue Aug 2, 2013 · 5 comments
Open

'getItem' property error in IE 10? #17

sidunn opened this issue Aug 2, 2013 · 5 comments
Labels

Comments

@sidunn
Copy link

sidunn commented Aug 2, 2013

I am still an Ember.js noob, so I'm not sure what needs to be done to make the Emberjs.com ToDoMVC application work with Internet Explorer 10. It took me numerous tries to finally make the program work with Chrome and Firefox after following each step in the Getting Started section on the Ember.js site. I built and rebuilt the ToDoMVC code from scratch at least three different times and spent a long time debugging. The app continues to work fine now with Firefox and Google Chrome. But it still doesn't work with Internet Explorer 10. Haven't tried an earlier version of IE yet.

Maybe somebody has a clue about what I am missing or overlooking or ???

Thanks.

--------------------------
DEBUG: Ember.VERSION : 1.0.0-rc.3 
DEBUG: Handlebars.VERSION : 1.0.0-rc.3 
DEBUG: jQuery.VERSION : 1.9.1 
DEBUG: ------------------------------- 
SCRIPT5007: Unable to get property 'getItem' of undefined or null reference 
local_storage_adapter.js, line 166 character 5

-------

*** local_storage_adapter.js Line 166 is the shown below, under _loadData:

// private

_getNamespace: function() {
return this.namespace || 'DS.LSAdapter';
},

_loadData: function() {
var storage = localStorage.getItem(this._getNamespace());
this._data = storage ? JSON.parse(storage) : {};
},

etc. ***
@sidunn sidunn closed this as completed Aug 2, 2013
@sidunn sidunn reopened this Aug 2, 2013
@sidunn
Copy link
Author

sidunn commented Aug 2, 2013

I accidentally closed the issue. I've re-opened it now.

@kurko
Copy link
Collaborator

kurko commented Feb 13, 2014

@sidunn are you still around? We merged a bunch of changes into master. Is this issue still relevant?

@sidunn
Copy link
Author

sidunn commented Feb 13, 2014

I'm still around but not doing much with Ember. Maybe I'll find some time
to check it out again in the next few days. Thanks.

On Thu, Feb 13, 2014 at 7:07 AM, Alexandre de Oliveira <
[email protected]> wrote:

@sidunn https://github.com/sidunn are you still around? We merged a
bunch of changes into master. Is this issue still relevant?

Reply to this email directly or view it on GitHubhttps://github.com//issues/17#issuecomment-34975940
.

@basepack
Copy link

Hi,

I am getting the the same error on setItem function. Look at the screenshot:
image

I was doing a:

var record = this.store.createRecord('cartitem', {
     // fields
});
record.save();

Any news on this one?

@kurko
Copy link
Collaborator

kurko commented Jan 24, 2015

I don't think anyone will fix this unless they're blocked by this. Could you create a PR?.

@locks locks added the bug label Oct 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants