From f941c1c362c858ba75357bb9e11afc286867823a Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Sun, 11 Mar 2018 18:58:01 -0400 Subject: [PATCH] cleanup --- Metamaps.ServerData.js.erb | 21 ---- README.md | 3 + package.json | 2 +- public/index.html | 5 + views/shared/_cheatsheet.js | 172 ------------------------------- views/shared/_forkmap.js | 59 ----------- views/shared/_metacodeoptions.js | 6 -- 7 files changed, 9 insertions(+), 259 deletions(-) delete mode 100644 Metamaps.ServerData.js.erb delete mode 100644 views/shared/_cheatsheet.js delete mode 100644 views/shared/_forkmap.js delete mode 100644 views/shared/_metacodeoptions.js diff --git a/Metamaps.ServerData.js.erb b/Metamaps.ServerData.js.erb deleted file mode 100644 index bd412a93..00000000 --- a/Metamaps.ServerData.js.erb +++ /dev/null @@ -1,21 +0,0 @@ -/* global Metamaps */ - -/* erb variables from rails */ -Metamaps.ServerData = Metamaps.ServerData || {} -Metamaps.ServerData['junto_spinner_darkgrey.gif'] = '<%= asset_path('junto_spinner_darkgrey.gif') %>' -Metamaps.ServerData['user.png'] = '<%= asset_path('user.png') %>' -Metamaps.ServerData['icons/wildcard.png'] = '<%= asset_path('icons/wildcard.png') %>' -Metamaps.ServerData['topic_description_signifier.png'] = '<%= asset_path('topic_description_signifier.png') %>' -Metamaps.ServerData['topic_link_signifier.png'] = '<%= asset_path('topic_link_signifier.png') %>' -Metamaps.ServerData['synapse16.png'] = '<%= asset_path('synapse16.png') %>' -Metamaps.ServerData['sounds/MM_sounds.mp3'] = '<%= asset_path 'sounds/MM_sounds.mp3' %>' -Metamaps.ServerData['sounds/MM_sounds.ogg'] = '<%= asset_path 'sounds/MM_sounds.ogg' %>' -Metamaps.ServerData['exploremaps_sprite.png'] = '<%= asset_path 'exploremaps_sprite.png' %>' -Metamaps.ServerData['map_control_sprite.png'] = '<%= asset_path 'map_control_sprite.png' %>' -Metamaps.ServerData['user_sprite.png'] = '<%= asset_path 'user_sprite.png' %>' -Metamaps.ServerData.Metacodes = <%= Metacode.all.to_json.gsub(%r[(icon.*?)(\"},)], '\1?purple=stupid\2').html_safe %> -Metamaps.ServerData.REALTIME_SERVER = '<%= ENV['REALTIME_SERVER'] %>' -Metamaps.ServerData.RAILS_ENV = '<%= ENV['RAILS_ENV'] %>' -Metamaps.ServerData.VERSION = '<%= METAMAPS_VERSION %>' -Metamaps.ServerData.BUILD = '<%= METAMAPS_BUILD %>' -Metamaps.ServerData.LAST_UPDATED = '<%= METAMAPS_LAST_UPDATED %>' diff --git a/README.md b/README.md index ac087020..591d005c 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,9 @@ Checklist - [x] edit metacode set - [ ] fix other places where metacode sets are used +- [ ] page titles +- [ ] mobile titles +- [ ] open graph meta tags - [ ] make newtopic form load metacodes from users selected ones - [ ] create synapse form - [ ] replace old loader with react loader diff --git a/package.json b/package.json index 1a977786..199d9045 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/metamaps/metamaps.git" + "url": "git+https://github.com/metamaps/metamaps-ui.git" }, "author": "", "license": "AGPL-3.0", diff --git a/public/index.html b/public/index.html index f7496952..e07a206d 100644 --- a/public/index.html +++ b/public/index.html @@ -104,7 +104,12 @@ -->