added server

This commit is contained in:
Joe Reeve
2015-11-07 12:55:26 +00:00
parent d79aa68110
commit 88e84ef4d7
8 changed files with 112 additions and 12 deletions
+15 -3
View File
@@ -1,8 +1,20 @@
(function(Ractive){
$(document).ready(function(){
@@include('components.js')
@@include('components.js')
$.getJSON('/sample', function(res){
var ractive = new Ractive.components.home({
el:'#load',
data:res
});
});
//Code below here
})(Ractive);
});