This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @author lion | |
| */ | |
| enum RequestFileSystemType { | |
| TEMPORARY = window.TEMPORARY, | |
| PERSISTENT = window.PERSISTENT | |
| } | |
| interface FileSystemOption { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| </head> | |
| <body> | |
| <script> | |
| var EventLoop = (function () { | |
| //任性的实现 私有变量 访问控制 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <style> | |
| body { | |
| background: #f2f2f2; | |
| } | |
| body.ready { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!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" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| 查看状态 : https://portal.qiniu.com/mps/pipeline/{queue id}/job/{object id} | |
| 提交 : https://portal.qiniu.com/mps/pipeline/{queue id}/job | |
| post 字段 | |
| --------------------- | |
| pipelineId:队列id | |
| srcBucket:空间 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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')), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var | |
| PAGES = PAGES_INFO.pages, | |
| PAGE_ROOT = PAGES_INFO.root | |
| ; | |
| var LoadDepend = function(){ | |
| var | |
| map = LOAD_DEPENDS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * <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 { |