Skip to content

Commit

Permalink
Bump version to 0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubkottnauer committed Jul 12, 2017
1 parent 1cd90c0 commit 995e1ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-load-script",
"version": "0.0.5",
"version": "0.0.6",
"description": "react-load-script enables you to easily create components which depend on third party JS scripts",
"main": "lib/index.js",
"author": "Blueberry",
Expand Down
2 changes: 1 addition & 1 deletion src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export default class Script extends React.Component {
}

script.src = url;

// default async to true if not set with custom attributes
if (!script.hasAttribute('async')) {
script.async = 1;
Expand Down
2 changes: 1 addition & 1 deletion src/index.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ test('custom attributes should be set on the script tag', () => {
expect(script.getAttribute('id')).toBe('dummyId');
expect(script.getAttribute('dummy')).toBe('non standard');
expect(script.getAttribute('data-dummy')).toBe('standard');
expect(script.getAttribute('async')).toBe(false);
expect(script.getAttribute('async')).toBe('false');
});

0 comments on commit 995e1ae

Please sign in to comment.