Skip to content

Instantly share code, notes, and snippets.

View maolion's full-sized avatar
👋
门前大桥下 游过一群鸭 大家快来数一数 🐣🐤🐥 🦆 🎱

江宜玮 maolion

👋
门前大桥下 游过一群鸭 大家快来数一数 🐣🐤🐥 🦆 🎱
View GitHub Profile
/**
* @author lion
*/
enum RequestFileSystemType {
TEMPORARY = window.TEMPORARY,
PERSISTENT = window.PERSISTENT
}
interface FileSystemOption {
<html>
<head>
</head>
<body>
<script>
var EventLoop = (function () {
//任性的实现 私有变量 访问控制
<!doctype html>
<html>
<head>
<title></title>
<style>
body {
background: #f2f2f2;
}
body.ready {
<!doctype html>
<html>
<head>
<title></title>
</head>
<body>
<button id="start">start</button>
<button id="stop" disabled="disabled">stop</button>
<button id="analyser" disabled="disabled">analyser</button>
<script>
<?php
class AsyncResourceLoader {
const RE_COMMENT = '/<!--[\s\S]*?-->|{%\*[\s\S]*?\*%}|\/\*[\s\S]*?\*\//';
const RE_RESOURCE_URL = '/(?:href|src)\s*=\s*[\'"]([^\'"]*)[\'\"]/i';
const RE_KEEP_SIGN = '/\bdata-keep\b(?:\s*=\s*[\'"][^\'"]*[\'"])?/i';
const RE_PATH_SEP = '/\\\\\/|\\\\/';
const JS_CODE_LOADER = <<<JS_CODE_LOADER
<script>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta http-equiv="Cache-Control" name="no-store" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
/*
查看状态 : https://portal.qiniu.com/mps/pipeline/{queue id}/job/{object id}
提交 : https://portal.qiniu.com/mps/pipeline/{queue id}/job
post 字段
---------------------
pipelineId:队列id
srcBucket:空间
var
$ = require("common:widget/jquery/1.7.2/jquery.js"),
Events = require("common:widget/arale-events/events.js"),
Utils = require("common:widget/my-util/my-util.js")
;
var THEMES = {
simple : {
layout : $(__inline('./themes/simple/simple.tpl')),
var
PAGES = PAGES_INFO.pages,
PAGE_ROOT = PAGES_INFO.root
;
var LoadDepend = function(){
var
map = LOAD_DEPENDS
/**
* <typography.less> - 2014/10/21
* @version 0.1
* @author Joye, maolion.j@gmail.com
* @website http://maolion.com
*/
@import "variables.less";
@import "utils.less";
html {