Skip to content

Commit

Permalink
v1.8.6 patch
Browse files Browse the repository at this point in the history
Список изменений:
• небольшие изменения демо-страницы;
• убрана необходимость биндить публичные методы;
• бинды, по возможности, убраны;
• фикс обновления доп. веток;

#13
  • Loading branch information
whiteGloom committed Dec 3, 2019
1 parent 5a7618b commit cda048b
Show file tree
Hide file tree
Showing 11 changed files with 278 additions and 58 deletions.
5 changes: 4 additions & 1 deletion .babelrc
@@ -1,3 +1,6 @@
{
"presets": ["@babel/preset-env"]
"presets": ["@babel/preset-env"],
"plugins": [
["@babel/plugin-proposal-decorators", { "legacy": true }],
]
}
10 changes: 6 additions & 4 deletions index.js
Expand Up @@ -50,12 +50,14 @@ webpackLoader.addToDevServerConfig({
});

function ghPagesInit() {
ghpages.publish('docs', (err) => {
console.log('GitHub Pages branch updated.');
});
ghpages.publish('prod', { branch: 'Production' }, (err) => {
if(err) console.log(err)
if (err) console.log(err);
console.log('Prod branch updated.');

ghpages.publish('docs', (err) => {
if (err) console.log(err);
console.log('GitHub Pages branch updated.');
});
});
}

Expand Down
171 changes: 170 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "wrunner",
"version": "1.8.5",
"version": "1.8.6",
"description": "A slider plugin.",
"homepage": "https://github.com/whiteGloom/wRunner",
"main": "./prod/wrunner-native.js",
Expand All @@ -22,7 +22,9 @@
"@babel/cli": "^7.6.2",
"@babel/core": "^7.2.2",
"@babel/node": "^7.6.2",
"@babel/plugin-proposal-decorators": "^7.7.4",
"@babel/preset-env": "^7.2.3",
"autobind-decorator": "^2.4.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.5",
"css-loader": "^2.1.0",
Expand Down
4 changes: 3 additions & 1 deletion src/showcase/blocks/sample/sample.pug
@@ -1,3 +1,5 @@
include ../textInput/textInput

mixin sample(options = {})
-
const {title = "", id="", data = [
Expand Down Expand Up @@ -31,4 +33,4 @@ mixin sample(options = {})
when "checkbox"
input(type="checkbox")
default
input(type="text")
+textInput
1 change: 1 addition & 0 deletions src/showcase/blocks/sample/sample.styl
Expand Up @@ -33,6 +33,7 @@

&__parameter-value
width: 100%
color: black

&__title
text-align: center
Expand Down
2 changes: 2 additions & 0 deletions src/showcase/blocks/textInput/textInput.pug
@@ -0,0 +1,2 @@
mixin textInput(options = {})
input.textInput
5 changes: 5 additions & 0 deletions src/showcase/blocks/textInput/textInput.styl
@@ -0,0 +1,5 @@
.textInput
border:none
height: 100%
border-radius: 3px
background-color: white

0 comments on commit cda048b

Please sign in to comment.