|
Took me 10 minutes to find the error:
onProceed: funtion() {
And of course, the only error I get is Uncaught SyntaxError: Unexpected token {
So of course I wonder, where did I have a mismatched curly brace??? Wrong wonderment.
Marc
|
|
|
|
|
let's make an agreement, mate:
you'll deal with my XAML and i ll take your javascript duties
|
|
|
|
|
Aless Alessio wrote: XAML and i ll take your javascript duties
deal with my 4 year old kid, and I'll take care of your XAML
|
|
|
|
|
Done! I love XAML.
This space for rent
|
|
|
|
|
oh man ... am i the only weirdo who likes coding in Javascript ?!?
|
|
|
|
|
Yes.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
There was a time when I frequently used Javascipt to knock of quick and dirty batches. Then along came powershell and I was reformed. Hallelujah!
We're philosophical about power outages here. A.C. come, A.C. go.
|
|
|
|
|
Not at all. There are masochists in all walks of life
This space for rent
|
|
|
|
|
|
Aless Alessio wrote: With the relatively new "ECMA6", writing in Javascript is pretty much like writing in C# I admire your optimism.
This space for rent
|
|
|
|
|
I'd call it something else...
I'm retired. There's a nap for that...
- Harvey
|
|
|
|
|
Love your byline.
|
|
|
|
|
goddam right!
|
|
|
|
|
That's fine if you control the environment. If you're writing a website, it's going to be 10+ years before you can safely use those features without a "transpiler" to convert them back to ES5.
And even then, you'll still have users on IE6 complaining that your site is broken.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
That's the thing! If you look at this link ECMAScript 6 compatibility table[^] you ll see that almost every browser is now ECMA6 compatible.
The only and only exception is IE. So, let's move those old IE aficionados to Edge then
|
|
|
|
|
Edge has 2 use cases:
1) Downloading Chrome
2) Amazement that they made it so much faster while making it feel like it's just broke!
|
|
|
|
|
The ones who belly-ache about JavaScript are just frustrated VB6 users. Don't pay them any mind.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Nope - once you know what you are doing it's perfectly fine.
[Edit]
Except for floats.
|
|
|
|
|
Nope. It's not so bad as people make it out to be... different yes. Bad... nope.
Jeremy Falcon
|
|
|
|
|
I am one that don't dislike javascript anymore, although I used to. In fact we just finished a quite complex system in which javascript plays a major role in both the server side and client side (see my signature) and it works quite well. As a matter of fact, I am feeling that the javascript codes we produced are more readable than the C# counter part (some of the equivalent logic were were realized in C# before) due to its functional style of representation
|
|
|
|
|
Nope. Takes a little getting used to when you usually code in C# or something but it's just another language you can do some interesting things with.
|
|
|
|
|
My first encountered with duct-typing, I though was bad idea. Now switching back to code in C#, I actually miss the duct-type and the ability of adding property on the go as in JavaScript.
No you are not the only weirdo.
|
|
|
|
|
|
Aless Alessio wrote: you'll deal with my XAML and i ll take your javascript duties
No way! I'm not touching that mess!
Marc
|
|
|
|
|
How about you do my CSS and I'll fix whatever problems you have (car, marriage, kids, anything is more fixable than CSS)
|
|
|
|