in reply to Re^8: Converting hash into js object properties
in thread Converting hash into js object properties
adding double quotes to the jQuery directly didn't break anything
jQuery is "just" a library, in that way it is similar to, for example, Moo: it just makes good/clever use of existing language syntax to provide an interface that makes it look like it's adding new syntax to the language (e.g. jQuery's $(...), Moo's has), but it is in fact working within the confines of the language (other modules can be added to provide sugar). The same way one can write regular Perl subs into Moo classes and use everything that Perl has to offer, one can use all of vanilla JavaScript when working with jQuery.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Converting hash into js object properties
by nysus (Parson) on Nov 21, 2017 at 22:58 UTC | |
by roboticus (Chancellor) on Nov 22, 2017 at 00:04 UTC | |
by nysus (Parson) on Nov 22, 2017 at 05:17 UTC | |
by roboticus (Chancellor) on Nov 22, 2017 at 20:46 UTC | |
by huck (Prior) on Nov 22, 2017 at 05:27 UTC | |
by nysus (Parson) on Nov 22, 2017 at 05:33 UTC | |
by nysus (Parson) on Nov 22, 2017 at 01:07 UTC |