diff --git a/examples/commits/app.js b/examples/commits/app.js index b8539949..e240fd05 100644 --- a/examples/commits/app.js +++ b/examples/commits/app.js @@ -58,8 +58,9 @@ var demo = new Vue({ xhr.open('GET', apiURL + self.currentBranch) xhr.onload = function () { self.commits = JSON.parse(xhr.responseText) + console.log(self.commits[0].html_url) } xhr.send() } } -}) \ No newline at end of file +}) diff --git a/examples/commits/index.html b/examples/commits/index.html index f4cbbef1..af180177 100644 --- a/examples/commits/index.html +++ b/examples/commits/index.html @@ -23,24 +23,24 @@
yyx990803/vue@{{currentBranch}}