Skip to content

Commit

Permalink
Merge pull request matthewmueller#3 from visionmedia/master
Browse files Browse the repository at this point in the history
fix for latest domify
  • Loading branch information
matthewmueller committed Jun 22, 2013
2 parents baa2240 + b8bc5c3 commit 259956d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions component.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"repo": "matthewmueller/svg",
"description": "low-level svg element helper",
"version": "0.0.1",
"keywords": [],
"keywords": ["svg"],
"dependencies": {
"component/domify" : "*"
"component/domify" : "1.0.0"
},
"development": {},
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
* Module Dependencies
*/

var domify = require('domify'),
html = domify(require('./template'))[0];
var domify = require('domify');
var html = domify(require('./template'));

/**
* Export `SVG`
Expand Down
2 changes: 1 addition & 1 deletion test.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<h1>svg component</h1>
<div id="box"></div>

<script src="../build/build.js" type="text/javascript"></script>
<script src="build/build.js" type="text/javascript"></script>
<script type="text/javascript">
var svg = require('svg');
var box = document.getElementById('box');
Expand Down

0 comments on commit 259956d

Please sign in to comment.