Update dom101 to fix problem with lodash page
This commit is contained in:
parent
428b5bfc11
commit
8de1797cd1
|
@ -1,5 +1,41 @@
|
||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`h2 + pre 1`] = `
|
||||||
|
<div>
|
||||||
|
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="h2-section"
|
||||||
|
>
|
||||||
|
<h2>
|
||||||
|
heading
|
||||||
|
</h2>
|
||||||
|
<div
|
||||||
|
class="body h3-section-list"
|
||||||
|
data-js-h3-section-list=""
|
||||||
|
>
|
||||||
|
|
||||||
|
|
||||||
|
<div
|
||||||
|
class="h3-section language-markdown"
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
class="body language-markdown"
|
||||||
|
>
|
||||||
|
<pre
|
||||||
|
class="language-markdown"
|
||||||
|
>
|
||||||
|
(code)
|
||||||
|
</pre>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
`;
|
||||||
|
|
||||||
exports[`h3 with class 1`] = `
|
exports[`h3 with class 1`] = `
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
|
|
|
@ -54,3 +54,10 @@ function run (input, fn) {
|
||||||
if (fn) fn($div)
|
if (fn) fn($div)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
it('h2 + pre', run(`
|
||||||
|
<div>
|
||||||
|
<h2>heading</h2>
|
||||||
|
<pre class='language-markdown'>(code)</pre>
|
||||||
|
</div>
|
||||||
|
`))
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
const join = require('path').resolve
|
const join = require('path').resolve
|
||||||
const webpack = require('webpack')
|
const webpack = require('webpack')
|
||||||
const UglifyJSPlugin = require('uglifyjs-webpack-plugin')
|
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
context: join(__dirname, '..'),
|
context: join(__dirname, '..'),
|
||||||
|
@ -27,7 +26,8 @@ module.exports = {
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: join(__dirname, '..', 'assets', 'packed'),
|
path: join(__dirname, '..', 'assets', 'packed'),
|
||||||
filename: '[name].js'
|
filename: '[name].js',
|
||||||
|
devtoolModuleFilenameTemplate: 'webpack:///[absolute-resource-path]'
|
||||||
},
|
},
|
||||||
module: {
|
module: {
|
||||||
rules: [
|
rules: [
|
||||||
|
@ -68,14 +68,7 @@ module.exports = {
|
||||||
// Don't include debug symbols ever
|
// Don't include debug symbols ever
|
||||||
new webpack.EnvironmentPlugin({
|
new webpack.EnvironmentPlugin({
|
||||||
NODE_ENV: 'production'
|
NODE_ENV: 'production'
|
||||||
}),
|
|
||||||
|
|
||||||
// Always minify, even in development.
|
|
||||||
new UglifyJSPlugin({
|
|
||||||
uglifyOptions: {
|
|
||||||
compress: true,
|
|
||||||
mangle: true
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
]
|
],
|
||||||
|
devtool: 'source-map'
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -33,7 +33,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"babel-polyfill": "6.26.0",
|
"babel-polyfill": "6.26.0",
|
||||||
"dom101": "2.1.0",
|
"dom101": "2.2.1",
|
||||||
"hint.css": "2.5.0",
|
"hint.css": "2.5.0",
|
||||||
"isotope-layout": "3.0.4",
|
"isotope-layout": "3.0.4",
|
||||||
"jquery": "3.2.1",
|
"jquery": "3.2.1",
|
||||||
|
|
|
@ -1720,9 +1720,9 @@ doctrine@^2.0.0:
|
||||||
esutils "^2.0.2"
|
esutils "^2.0.2"
|
||||||
isarray "^1.0.0"
|
isarray "^1.0.0"
|
||||||
|
|
||||||
dom101@2.1.0:
|
dom101@2.2.1:
|
||||||
version "2.1.0"
|
version "2.2.1"
|
||||||
resolved "https://registry.yarnpkg.com/dom101/-/dom101-2.1.0.tgz#45fcee0100e078591696bec6e75276b5d03c0b5c"
|
resolved "https://registry.yarnpkg.com/dom101/-/dom101-2.2.1.tgz#16bdf36daf58a5846f72f3d8e48ba0ec1b186330"
|
||||||
|
|
||||||
domain-browser@^1.1.1:
|
domain-browser@^1.1.1:
|
||||||
version "1.1.7"
|
version "1.1.7"
|
||||||
|
|
Loading…
Reference in New Issue