Writing JavaScript is awesome.
It is so simple, yet powerful. And if you add jQuery, it just makes me happy!
But there is a problem in here. There is no compiler for JavaScript, once I spent over 4 hours over a bug to find a 'd' character lost in one of the files.
Not today. Today I got this:
http://james.padolsey.com/javascript/jquery-lint/
It will be in every single site I do from now on.
And I strongly recommend you do the same.
This is not the only option, you can look for others, but most of them are online analyzers, and I think this one is easier to run, you just have to link it (and jQuery, silly)
It is so simple, yet powerful. And if you add jQuery, it just makes me happy!
But there is a problem in here. There is no compiler for JavaScript, once I spent over 4 hours over a bug to find a 'd' character lost in one of the files.
Not today. Today I got this:
http://james.padolsey.com/javascript/jquery-lint/
It will be in every single site I do from now on.
And I strongly recommend you do the same.
This is not the only option, you can look for others, but most of them are online analyzers, and I think this one is easier to run, you just have to link it (and jQuery, silly)
<script src="jquery.js"></script> <script src="jquery.lint.js"></script>
easy as Π
Got it?
nerd!
No comments:
Post a comment