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
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| "os" | |
| "os/exec" | |
| "regexp" | |
| "strings" |
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
| (function(){ | |
| "use strict"; | |
| /*Reader View插件id*/ | |
| const RV_EXT_ID = 'iibolhpkjjmoepndefdmdlmbpfhlgjpl'; | |
| const MSG_PRE = 'ReaderView.'; | |
| /** | |
| * 插件与插件间、插件与插件页面脚本间数据通信 |
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
| /* | |
| * Copyright (c) 2010 Apple Inc. All rights reserved. | |
| */ | |
| function characterNeedsScoreMultiplier(e) { | |
| if (!e || e.length === 0) | |
| return !1; | |
| var t = e.charCodeAt(0); | |
| return t > 11904 && t < 12031?!0 : t > 12352 && t < 12543?!0 : t > 12736 && t < 19903?!0 : t > 19968 && t < 40959?!0 : t > 44032 && t < 55215?!0 : t > 63744 && t < 64255?!0 : t > 65072 && t < 65103?!0 : t > 131072 && t < 173791?!0 : t > 194560 && t < 195103?!0 : !1 | |
| } | |
| function domDistance(e, t, n) { |
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 net = require('net'), | |
| querystring = require('querystring'); | |
| var TYPES = { | |
| FCGI_BEGIN_REQUEST : 1, | |
| FCGI_ABORT_REQUEST : 2, | |
| FCGI_END_REQUEST : 3, | |
| FCGI_PARAMS : 4, | |
| FCGI_STDIN : 5, | |
| FCGI_STDOUT : 6, |