Difference between revisions of "JavaScript"

From Freephile Wiki
Jump to navigation Jump to search
(new Section: JavaScript SourceMaps)
Line 11: Line 11:
 
== JavaScript Callbacks ==
 
== JavaScript Callbacks ==
 
A great explanation of what are Callbacks and how to use them: http://javascriptissexy.com/understand-javascript-callback-functions-and-use-them/
 
A great explanation of what are Callbacks and how to use them: http://javascriptissexy.com/understand-javascript-callback-functions-and-use-them/
 +
 +
== JavaScript SourceMaps ==
 +
See here: https://www.html5rocks.com/en/tutorials/developertools/sourcemaps/
 +
Debug minified sources in FireFox or Chrome
  
 
[[Category:JavaScript]]
 
[[Category:JavaScript]]
 
[[Category:Wiki]]
 
[[Category:Wiki]]
 +
[[Category:Front-end]]
 +
[[Category:Back-end]]
 +
[[Category:Server]]
 +
[[Category:Node]]
 +
[[Category:Node.js]]
 +
[[Category:Source]]
 +
[[Category:Programming]]
 +
[[Category:Code]]

Revision as of 08:59, 7 October 2017

Get wp:Greasemonkey (here) so that you can have your browser be even more useful. You might even want to use Super Greasemonkey if you like using the awesome JQuery library. I'm hoping that Super Greasemonkey makes it into the official version, and that you can specify in your script which JQuery library to run (like Google's hosted JQuery scripts) making it easier to keep compatibility with the JQuery API version and also avoiding the need to bundle JQuery.

  • MediaWiki/js talks about using JavaScript in MediaWiki
  • User Scripts are JavaScripts that you insert into your web browser such as Greasemonkey scripts. Userscripts.org is the open source repository of Grease Monkey scripts.
  • MediaWiki/Presentation describes methods to produce presentations from your wiki

JavaScript Libraries[edit | edit source]

JQuery is included with Drupal, and is also used in many other projects. In this slideshow, you can compare JQuery with Prototype

JavaScript Callbacks[edit | edit source]

A great explanation of what are Callbacks and how to use them: http://javascriptissexy.com/understand-javascript-callback-functions-and-use-them/

JavaScript SourceMaps[edit | edit source]

See here: https://www.html5rocks.com/en/tutorials/developertools/sourcemaps/ Debug minified sources in FireFox or Chrome