Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
.PHONY: publish dev test example

dev:
npm run dev
yarn dev
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep this with npm as it's more universal still at this stage.


build:
npm run prepublish
yarn prepublish

publish:
npm version patch
npm publish .

test:
npm run test
yarn test

testwatch:
npm run test-watch
yarn test-watch

example: build
npm run build
yarn build

publish_pages: example
gh-pages -d ./public
8 changes: 7 additions & 1 deletion dist/components/Marker.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,13 @@
}, {
key: 'render',
value: function render() {
return null;
return _react2.default.createElement(
_react.Fragment,
null,
this.props.children && this.marker ? _react2.default.Children.only(_react2.default.cloneElement(this.props.children, { marker: this.marker,
google: this.props.google,
map: this.props.map })) : null
);
}
}]);

Expand Down
Loading