We are trying to create a new manifest format for the Web. It will allow you to define metadata for a web application in one place.
Right now, we are trying to decide how to "inline" the manifest into HTML. Need your feedback.
<!doctype html>
// original (http://html5shiv.googlecode.com/svn/trunk/html5.js) | |
(function(){if(!/*@cc_on!@*/0)return;var e = "abbr,article,aside,audio,canvas,datalist,details,figure,figcaption,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video".split(','),i=e.length;while(i--){document.createElement(e[i])}})() |
(function(){ | |
// prevent exceptions from escaping outside function (backtrace could be revealing) | |
try { | |
// this is ASCII 'Secret!' represented as integers | |
var secret = [1399153522,1702109440]; | |
var secretlength = 7; | |
// function that contains secret must finish executing before anything untrusted is called, |
{ scopeName = 'text.html.basic'; | |
firstLineMatch = '<!DOCTYPE|<(?i:html)|<\?(?i:php)'; | |
fileTypes = ( 'html', 'htm', 'shtml', 'xhtml', 'phtml', 'php', 'inc', 'tmpl', 'tpl', 'ctp' ); | |
foldingStartMarker = '(?x) | |
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|script|ul|ol|li|form|dl)\b.*?> | |
|<!--(?!.*--\s*>) | |
|^<!--\ \#tminclude\ (?>.*?-->)$ | |
|<\?(?:php)?.*\b(if|for(each)?|while)\b.+: | |
|\{\{?(if|foreach|capture|literal|foreach|php|section|strip) | |
|\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/))) |
We are trying to create a new manifest format for the Web. It will allow you to define metadata for a web application in one place.
Right now, we are trying to decide how to "inline" the manifest into HTML. Need your feedback.
<!doctype html>
<? | |
require("redis.php"); | |
$term = $_GET['term']; | |
$r = new Redis("127.0.0.1","6379"); | |
$r->connect(); | |
$items = $r->zrangebylex("kernel", "[$term", "[$term\xff", ["LIMIT","0","10"]); | |
$t = []; |
#![feature(path, io, env, core)] | |
extern crate "pkg-config" as pkg_config; | |
use std::env; | |
use std::old_io::{self, fs, Command}; | |
use std::old_io::process::InheritFd; | |
fn main() { | |
let (build, mut cargo) = crater::current(); |
#!/bin/bash | |
set -o pipefail | |
IFS=$'\n' | |
REPORT='' | |
checkapp() { | |
local APPPATH=$1 | |
local PLIST="$APPPATH/Contents/Info.plist" | |
local SPARKLEPLIST="$APPPATH/Contents/Frameworks/Sparkle.framework/Resources/Info.plist" | |
local SPARKLEBIN="$APPPATH/Contents/Frameworks/Sparkle.framework/Sparkle" |
gulp.task('css-browsersync', function() { | |
return gulp.src(["*.scss"]) | |
.pipe(sass().on('error', function(err) { | |
console.error(err.message); | |
browserSync.notify(err.message, 3000); // Display error in the browser | |
this.emit('end'); // Prevent gulp from catching the error and exiting the watch process | |
})) | |
.pipe(gulp.dest("public/")) | |
.pipe(browserSync.stream()); | |
}); |
running 71 tests | |
test header_blocks_h ... ok | |
test header_anon_enum_whitelist_h ... ok | |
test header_bitfield_method_mangling_h ... ok | |
test header_complex_global_h ... ok | |
test header_const_resolved_ty_h ... ok | |
test header_complex_h ... FAILED | |
test header_constant_evaluate_h ... FAILED | |
test header_constify_all_enums_h ... FAILED |
Language | Adding files from filesystem to the build | How? | Unfinished files break the program? |
---|---|---|---|
Rust | Explicit mod |
declaration | No |
CommonJS | Explicit require |
import | No |
ES6 | Explicit import |
import | No |
Python | Explicit import |
import | No |
Lua (new) | Explicit require |
import | No |
PHP | Explicit require or use via autoload |
import or any use | No |
Perl | Explicit use |
import | No |