Skip to content

Commit

Permalink
Use lowercase b bodybuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
danpaz committed Feb 1, 2017
1 parent 7a3b41b commit 5afbea2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion browser/bodybuilder.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion browser/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h3>Open the console to try it out!</h3>
<script>
console.log(
'Try it:',
'var body = new Bodybuilder().query("match", "message", "this is a test").build()'
'var body = bodybuilder().query("match", "message", "this is a test").build()'
)
</script>
</body>
Expand Down
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset='utf-8' />
<title>Bodybuilder | Documentation</title>
<title>bodybuilder | Documentation</title>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<link href='assets/bass.css' type='text/css' rel='stylesheet' />
<link href='assets/style.css' type='text/css' rel='stylesheet' />
Expand All @@ -13,7 +13,7 @@
<div class='clearfix md-mxn2'>
<div class='fixed xs-hide fix-3 overflow-auto max-height-100'>
<div class='py1 px2'>
<h3 class='mb0 no-anchor'>Bodybuilder</h3>
<h3 class='mb0 no-anchor'>bodybuilder</h3>
<div class='mb1'><code></code></div>
<input
placeholder='Filter'
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ <h2 class="bb_h2">
}

inputEditor.on('change', onInputChange);
inputEditor.setValue(`new Bodybuilder()
inputEditor.setValue(`bodybuilder()
.query('match', 'message', 'this is a test')
.filter('term', 'user', 'kimchy')
.filter('term', 'user', 'herald')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"scripts": {
"build:babel": "babel src --out-dir lib",
"build:umd": "webpack lib browser/bodybuilder.min.js",
"build:docs": "documentation build src/index.js -o docs -f html --name Bodybuilder",
"build:docs": "documentation build src/index.js -o docs -f html --name bodybuilder",
"build": "npm run build:babel && npm run build:umd && npm run build:docs",
"lint": "eslint src test",
"style": "npm run lint",
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var webpack = require('webpack');

module.exports = {
output: {
library: 'Bodybuilder',
library: 'bodybuilder',
libraryTarget: 'umd'
},
plugins: [
Expand Down

0 comments on commit 5afbea2

Please sign in to comment.