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
.transform(transformTools.makeRequireTransform( | |
{evaluateArguments: true}, | |
(args, opts, cb) => { | |
if ( args[0] === "is-browser" ) { | |
return cb(null, 'true'); | |
} else { | |
return cb(); | |
} | |
})) |
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
.transform(transformTools.makeStringTransform( | |
'regenerator-runtimeify', | |
{jsFilesOnly: true}, | |
(contents, transformOptions, done) => { | |
if ( contents.includes('regeneratorRuntime') ) { | |
contents = contents.replace( | |
/(['"']use strict['"'];?\n?)/, | |
"$1\nvar regeneratorRuntime = require('regenerator/runtime');\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
Show hidden characters
{ | |
"presets": ["es2015", "stage-1"] | |
} |
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
diff --git a/client.js b/client.js | |
index 9deb594..44488de 100644 | |
--- a/client.js | |
+++ b/client.js | |
@@ -282,7 +282,7 @@ function inlineContent(html, css, options) { | |
function getStylesData($, options) { | |
var results = []; | |
var stylesList = $("style"); | |
- var styleDataList, styleData, styleElement; | |
+ var styleDataList, styleData, styleElement, filterResult; |
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
Anonymous UUID: E3BDDC68-FEB5-8FE4-33CF-270703B78232 | |
Thu Oct 1 10:57:33 2015 | |
panic(cpu 0 caller 0xffffff802a475d4d): "missing pager for copy object"@/SourceCache/xnu/xnu-2422.115.14/osfmk/vm/vm_pageout.c:794 | |
Backtrace (CPU 0), Frame : Return Address | |
0xffffff8031dc3b30 : 0xffffff802a423139 | |
0xffffff8031dc3bb0 : 0xffffff802a475d4d | |
0xffffff8031dc3d50 : 0xffffff802a478f14 | |
0xffffff8031dc3f20 : 0xffffff802a4dd05c | |
0xffffff8031dc3fb0 : 0xffffff802a4f438b |
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
{ | |
"countries": { | |
"AD": { | |
"name": "Andorra", | |
"abbr": "AD", | |
"zones": [ | |
"Europe/Andorra" | |
] | |
}, | |
"AE": { |
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
"use strict"; | |
var contrivedFoo = require('./contrivedFoo'); | |
contrivedFoo.foo(); |
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
"use strict"; | |
var createObject = require('./createObject'); | |
var contrivedExample = createObject( 42 ); |
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
#!/usr/bin/env node | |
"use strict"; | |
process.bin = process.title = 'mediawiki-extensionservice-cron'; | |
require('../lib/check-env'); | |
var Promise = require('bluebird'); | |
Promise.longStackTraces(); | |
var _ = require('lodash'), | |
fmt = require('util').format, | |
chalk = require('chalk'), |
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
Daniels-MacBook-Air:5735077 daniel$ php test.php | |
escape1: 52.938008308411µs. | |
escape2: 11.997318267822µs. | |
escape3: 11.176705360413µs. | |
escape4: 11.816596984863µs. | |
escape5: 10.962629318237µs. | |
escape6: 12.953281402588µs. | |
Daniels-MacBook-Air:5735077 daniel$ php test.php | |
escape1: 54.372382164001µs. | |
escape2: 11.764526367188µs. |