diff --git a/client/meteor-skeleton.html b/client/meteor-skeleton.html index 107f91e..a882765 100644 --- a/client/meteor-skeleton.html +++ b/client/meteor-skeleton.html @@ -6,7 +6,7 @@ Meteor Bootstrap skeleton - + diff --git a/public/js/interpreter.coffee b/public/js/interpreter.coffee new file mode 100644 index 0000000..9a5cf22 --- /dev/null +++ b/public/js/interpreter.coffee @@ -0,0 +1,5 @@ + +console.log 'interpreter run!' + +123 + diff --git a/public/js/scriptloader.coffee b/public/js/scriptloader.coffee new file mode 100644 index 0000000..3a73a99 --- /dev/null +++ b/public/js/scriptloader.coffee @@ -0,0 +1,12 @@ + +class Scriptloader + constructor: (interpreter, scripts) => + $.ajax { + url: "/js/#{interpreter}", + dataType: 'text', + success: (data) -> + console.log "success: #{data}" + error: (xhr, stuff, error) -> + console.log "ERROR loading interpreter: #{error}" + } +