Skip to content

Commit

Permalink
0.4.3: bugfix [!!!]
Browse files Browse the repository at this point in the history
fix a hardcode error
  • Loading branch information
guo-yu committed Aug 14, 2014
1 parent f89c1d0 commit 443004a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "duoshuo",
"version": "0.4.2",
"version": "0.4.3",
"authors": [
"turing <[email protected]>"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-duoshuo",
"version": "0.4.2",
"version": "0.4.3",
"description": "a duoshuo SDK for angular.js, pure front-end, cross-domain request supported.",
"main": "dist/duoshuo.min.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/duoshuo.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
};

// comments renderer
this.render = function(element) {
this.render = function(attrs) {
if (!window.DUOSHUO) throw new Error('duoshuo embed.js required!');
var data = {};
if (attrs.threadId) data['thread-id'] = attrs.threadId;
Expand Down

0 comments on commit 443004a

Please sign in to comment.