This commit is contained in:
Joe Reeve
2015-11-07 14:39:44 +00:00
parent 1765a42699
commit 78b893b5f7
17 changed files with 64 additions and 62 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ $(document).ready(function(){
$.getJSON('/sample', function(res){
var ractive = new Ractive.components.home({
var ractive = new Ractive.components[location.pathname.split('/')[1]]({
el:'#load',
data:res
});