Showing posts with label javascript. Show all posts
Showing posts with label javascript. Show all posts

Saturday, May 7, 2011

Front End Development Guidelines

Front End Development Guidelines by Tait Brown


What's Up, DOCTYPE?

The absence of a DOCTYPE is a crime punishable by death. You may have relied on the following DOCTYPE in the past, but it's important to know that this is now being superceded by a leaner and meaner snippet.
Ideally, the HTML5 DOCTYPE should be used. It's supported in all modern browsers, and throws IE6 and IE7 into standards mode. Source.

Thursday, March 10, 2011

A Visual Studio 2010 Extension which provides JavaScript code analysis using JSLint.

JSLint for Visual Studio 2010
Features

  • Simple .vsix double-click installation. Also available on the Visual Studio Gallery website, and downloadable directly from within Visual Studio using Tools->Extension Manager.
  • Configure from the Tools menu. Screenshot
  • Import/Export Options.
  • Analyze all JavaScript files when building the project or solution (also supports analyzing HTML files containing JavaScript).
  • Analyze selected JavaScript files from the Solution Explorer. Screenshot
  • Analyze a selected JavaScript snippet or the complete file while in the Code Editor window. Screenshot
  • Output as Errors, Warnings, Messages or Tasks. Screenshot
  • Skip validation of certain script files and folders when building (e.g. non-user code). Screenshot
  • Skip validation of a file section. Screenshot
  • Predefine JSLint global variables, per file or globally.
  • CSS validation.
  • New: Detection of constants (optional)