- /* */
- //
[arg1 arg2]:
// code
namespace Foo | |
{ | |
class Bar : Controller | |
{ | |
public ActionResult MyAction(int? id) | |
{ | |
var ctx = new Models.MyDbContext(); | |
return from x in ctx.MyTable where x.ID == id select x.Name; | |
} |
if line =~ '<!DOCTYPE.*\<DTD ' " doctype line found above | |
if line =~ ' HTML 3\.2' | |
let b:html_omni_flavor = 'html32' | |
elseif line =~ ' XHTML 1\.1' | |
let b:html_omni_flavor = 'xhtml11' | |
else " two-step detection with strict/frameset/transitional | |
if line =~ ' XHTML 1\.0' | |
let b:html_omni_flavor = 'xhtml10' | |
elseif line =~ ' HTML 4\.01' | |
let b:html_omni_flavor = 'html401' |
function loadDoc(url, callback) { | |
// branch for native XMLHttpRequest object | |
try { | |
if (window.XMLHttpRequest) { | |
req = new XMLHttpRequest(); | |
req.onreadystatechange = (function(){ processReqChange(req, callback); }) | |
req.open("GET", url, true); | |
req.send(null); | |
// branch for IE/Windows ActiveX version |