So it is pretty much a complete IDE for JavaScript. And you can add an extension like Tincr or DevTools Autosave and Chrome will save the changes to your JavaScript files on the disk. and that would redefine the $ function used by JQuery.Īs far as I know only Chrome's dev tools support editing JavaScript inside their Sources tab (not just via the command line). E.g., in the Console window, I could do this: $ = function() Therefore, and scripts that are currently defined for that page, can potentionally be redefind. When you use the Console, javascript is executed in the context of the current page. I use this quite a lot of rapid prototyping of code before I integrate it into my projects. You can use the Firebug Console tab to write Javascript.
0 Comments
Leave a Reply. |