Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@theKarlisK I removed the comment and then it said line 3 (empty line). I removed the empty one and it said line 2. So maybe the var definition is wrong?
-
@netikras nope ^^
@theKarlisK No other browser has this. I found out what it is (probably):
Edge can't simulate local localstorage xD
I'm just setting up a testserver. Thanks for your advice though! -
Shouldn't localStorage be using the getItem() method and not hasOwnProperty()?
https://developer.mozilla.org/en-US... -
henlo32876yLast my browser informed me of errors on incorrect line numbers, i figured that when you include other script files in ur script, the browser(firefox) displays ur original script file in debugger but shows the line number from the included file + original file. That the case maybe?
-
@DrPitLazarus I've had that in the first place. Stackoverflow said the second one is better for Edge XD
I might revert it..
Related Rants
-
tahnik63So I need to create a nice new web app. Let's look at some cool JS frameworks that I can work with. *5 mins l...
-
ahmedam23What only relying on JavaScript for HTML form input validation looks like
-
Kalvin17How does a front-end developer get away with murder? $('body').hide(); //I'll see myself out
Fucking Edge. I fixed a "bug" and now the bug-pointer tells me a line with only a comment causes a problem. Yea. Genius browser.
It's an "UNKNOWN" error btw, great debugging!
rant
edge
help me
js
jquery
noob