diff options
| author | Christine Dodrill <me@christine.website> | 2017-05-17 21:30:25 -0700 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2017-05-17 21:30:25 -0700 |
| commit | 30aa5d8c2ddb49ec56596edad23b5c1043737366 (patch) | |
| tree | c9ec557f20482ab44a6d9fb0f997b4f1561b3503 /frontend/support | |
| parent | 372573572913bebe24312b72f2c62d74bb8aba54 (diff) | |
| download | xesite-30aa5d8c2ddb49ec56596edad23b5c1043737366.tar.xz xesite-30aa5d8c2ddb49ec56596edad23b5c1043737366.zip | |
remove code
Diffstat (limited to 'frontend/support')
| -rw-r--r-- | frontend/support/index.html | 18 | ||||
| -rw-r--r-- | frontend/support/index.js | 25 | ||||
| -rw-r--r-- | frontend/support/pux-starter-app.gif | bin | 2095651 -> 0 bytes |
3 files changed, 0 insertions, 43 deletions
diff --git a/frontend/support/index.html b/frontend/support/index.html deleted file mode 100644 index 65d0e6c..0000000 --- a/frontend/support/index.html +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="UTF-8"/> - <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> - <meta name="viewport" content="width=device-width, initial-scale=1" /> - <title>Christine Dodrill</title> - - <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/css/materialize.min.css"> - <link rel="stylesheet" href="/static/css/main.css"> - </head> - <body> - <div id="app"></div> - <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script> - <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/js/materialize.min.js"></script> - </body> -</html> diff --git a/frontend/support/index.js b/frontend/support/index.js deleted file mode 100644 index 9f6020d..0000000 --- a/frontend/support/index.js +++ /dev/null @@ -1,25 +0,0 @@ -var Main = require('../src/Main.purs'); -var initialState = require('../src/Layout.purs').init; -var debug = process.env.NODE_ENV === 'development' - -if (module.hot) { - var app = Main[debug ? 'debug' : 'main'](window.puxLastState || initialState)(); - app.state.subscribe(function (state) { - window.puxLastState = state; - }); - module.hot.accept(); -} else { - Main[debug ? 'debug' : 'main'](initialState)(); -} - -global.main = function(args, callback) { - var body = Main['ssr'](initialState)(); - - result = { - "app": body, - "uuid": args.uuid, - "title": "Christine Dodrill" - } - - callback(result); -}; diff --git a/frontend/support/pux-starter-app.gif b/frontend/support/pux-starter-app.gif Binary files differdeleted file mode 100644 index 8c84f69..0000000 --- a/frontend/support/pux-starter-app.gif +++ /dev/null |
