Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

augur-ui-react-components

Package Overview
Dependencies
Maintainers
1
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

augur-ui-react-components - npm Package Compare versions

Comparing version 2.2.5 to 2.2.7

.babelrc

2

.c9/metadata/workspace/package.json

@@ -1,1 +0,1 @@

{"filter":false,"title":"package.json","tooltip":"/package.json","undoManager":{"mark":172,"position":172,"stack":[[{"start":{"row":18,"column":32},"end":{"row":18,"column":42},"action":"remove","lines":["* * WATCH"],"id":2},{"start":{"row":18,"column":32},"end":{"row":18,"column":33},"action":"insert","lines":["C"]}],[{"start":{"row":18,"column":33},"end":{"row":18,"column":34},"action":"insert","lines":["L"],"id":3}],[{"start":{"row":18,"column":34},"end":{"row":18,"column":35},"action":"insert","lines":["E"],"id":4}],[{"start":{"row":18,"column":35},"end":{"row":18,"column":36},"action":"insert","lines":["A"],"id":5}],[{"start":{"row":18,"column":36},"end":{"row":18,"column":37},"action":"insert","lines":["N"],"id":6}],[{"start":{"row":18,"column":37},"end":{"row":18,"column":38},"action":"insert","lines":[" "],"id":7}],[{"start":{"row":18,"column":38},"end":{"row":18,"column":39},"action":"insert","lines":["*"],"id":8}],[{"start":{"row":18,"column":39},"end":{"row":18,"column":40},"action":"insert","lines":["*"],"id":9}],[{"start":{"row":18,"column":39},"end":{"row":18,"column":40},"action":"remove","lines":["*"],"id":10}],[{"start":{"row":18,"column":39},"end":{"row":18,"column":40},"action":"insert","lines":[" "],"id":11}],[{"start":{"row":18,"column":40},"end":{"row":18,"column":41},"action":"insert","lines":["*"],"id":12}],[{"start":{"row":18,"column":41},"end":{"row":18,"column":42},"action":"insert","lines":[" "],"id":13}],[{"start":{"row":18,"column":42},"end":{"row":18,"column":66},"action":"insert","lines":["HTML ASSETS CSS WATCHIFY"],"id":14}],[{"start":{"row":18,"column":66},"end":{"row":18,"column":67},"action":"insert","lines":[" "],"id":15}],[{"start":{"row":18,"column":67},"end":{"row":18,"column":68},"action":"remove","lines":[" "],"id":16}],[{"start":{"row":18,"column":67},"end":{"row":18,"column":72},"action":"remove","lines":[" * * "],"id":17}],[{"start":{"row":18,"column":57},"end":{"row":18,"column":58},"action":"remove","lines":[" "],"id":18},{"start":{"row":18,"column":57},"end":{"row":18,"column":62},"action":"insert","lines":[" * * "]}],[{"start":{"row":18,"column":53},"end":{"row":18,"column":54},"action":"remove","lines":[" "],"id":19},{"start":{"row":18,"column":53},"end":{"row":18,"column":58},"action":"insert","lines":[" * * "]}],[{"start":{"row":18,"column":46},"end":{"row":18,"column":47},"action":"remove","lines":[" "],"id":20},{"start":{"row":18,"column":46},"end":{"row":18,"column":51},"action":"insert","lines":[" * * "]}],[{"start":{"row":37,"column":62},"end":{"row":37,"column":102},"action":"remove","lines":["--- Building HTML ASSETS CSS WATCHIFY..."],"id":21},{"start":{"row":37,"column":62},"end":{"row":37,"column":86},"action":"insert","lines":["---------CLEAN----------"]}],[{"start":{"row":18,"column":40},"end":{"row":18,"column":41},"action":"remove","lines":["*"],"id":22}],[{"start":{"row":18,"column":39},"end":{"row":18,"column":40},"action":"remove","lines":[" "],"id":23}],[{"start":{"row":18,"column":45},"end":{"row":18,"column":46},"action":"remove","lines":["*"],"id":24}],[{"start":{"row":18,"column":45},"end":{"row":18,"column":46},"action":"remove","lines":[" "],"id":25}],[{"start":{"row":18,"column":54},"end":{"row":18,"column":55},"action":"remove","lines":["*"],"id":26}],[{"start":{"row":18,"column":54},"end":{"row":18,"column":55},"action":"remove","lines":[" "],"id":27}],[{"start":{"row":18,"column":60},"end":{"row":18,"column":61},"action":"remove","lines":["*"],"id":28}],[{"start":{"row":18,"column":60},"end":{"row":18,"column":61},"action":"remove","lines":[" "],"id":29}],[{"start":{"row":18,"column":31},"end":{"row":18,"column":32},"action":"remove","lines":[" "],"id":30}],[{"start":{"row":18,"column":30},"end":{"row":18,"column":31},"action":"remove","lines":["*"],"id":31}],[{"start":{"row":18,"column":71},"end":{"row":18,"column":72},"action":"remove","lines":["*"],"id":32}],[{"start":{"row":18,"column":70},"end":{"row":18,"column":71},"action":"remove","lines":[" "],"id":33}],[{"start":{"row":19,"column":211},"end":{"row":20,"column":0},"action":"insert","lines":["",""],"id":35},{"start":{"row":20,"column":0},"end":{"row":20,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":20,"column":4},"end":{"row":20,"column":161},"action":"insert","lines":["\"publish_to_npm\": \"npm run build && git add --all && git commit -m \\\"build for publish\\\" && npm version patch && git push && git push --tags && npm publish\","],"id":36}],[{"start":{"row":20,"column":23},"end":{"row":20,"column":62},"action":"insert","lines":["clear; echo \\\"* * * * DIST * * * *\\\";"],"id":37}],[{"start":{"row":20,"column":62},"end":{"row":20,"column":63},"action":"insert","lines":[" "],"id":38}],[{"start":{"row":20,"column":46},"end":{"row":20,"column":50},"action":"remove","lines":["DIST"],"id":39},{"start":{"row":20,"column":46},"end":{"row":20,"column":47},"action":"insert","lines":["P"]}],[{"start":{"row":20,"column":47},"end":{"row":20,"column":48},"action":"insert","lines":["U"],"id":40}],[{"start":{"row":20,"column":48},"end":{"row":20,"column":49},"action":"insert","lines":["B"],"id":41}],[{"start":{"row":20,"column":49},"end":{"row":20,"column":50},"action":"insert","lines":["L"],"id":42}],[{"start":{"row":20,"column":50},"end":{"row":20,"column":51},"action":"insert","lines":["I"],"id":43}],[{"start":{"row":20,"column":51},"end":{"row":20,"column":52},"action":"insert","lines":["S"],"id":44}],[{"start":{"row":20,"column":52},"end":{"row":20,"column":53},"action":"insert","lines":["H"],"id":45}],[{"start":{"row":20,"column":66},"end":{"row":20,"column":85},"action":"insert","lines":["NODE_ENV=production"],"id":46}],[{"start":{"row":20,"column":85},"end":{"row":20,"column":86},"action":"insert","lines":[" "],"id":47}],[{"start":{"row":19,"column":84},"end":{"row":19,"column":88},"action":"remove","lines":["dist"],"id":49},{"start":{"row":19,"column":84},"end":{"row":19,"column":85},"action":"insert","lines":["b"]}],[{"start":{"row":19,"column":85},"end":{"row":19,"column":86},"action":"insert","lines":["u"],"id":50}],[{"start":{"row":19,"column":86},"end":{"row":19,"column":87},"action":"insert","lines":["i"],"id":51}],[{"start":{"row":19,"column":87},"end":{"row":19,"column":88},"action":"insert","lines":["l"],"id":52}],[{"start":{"row":19,"column":88},"end":{"row":19,"column":89},"action":"insert","lines":["d"],"id":53}],[{"start":{"row":19,"column":36},"end":{"row":19,"column":40},"action":"remove","lines":["DIST"],"id":54},{"start":{"row":19,"column":36},"end":{"row":19,"column":43},"action":"insert","lines":["PUBLISH"]}],[{"start":{"row":19,"column":136},"end":{"row":19,"column":137},"action":"remove","lines":["&"],"id":55},{"start":{"row":19,"column":136},"end":{"row":19,"column":137},"action":"insert","lines":["f"]}],[{"start":{"row":19,"column":137},"end":{"row":19,"column":138},"action":"insert","lines":["o"],"id":56}],[{"start":{"row":19,"column":138},"end":{"row":19,"column":139},"action":"insert","lines":["r"],"id":57}],[{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":[" \"dist\": \"clear; echo \\\"* * * * PUBLISH * * * *\\\"; NODE_ENV=production npm run -s build:all; git add --all && git commit -m 'build for publish' && npm version patch && git push && git push --tags && npm publish\",",""],"id":58}],[{"start":{"row":21,"column":5},"end":{"row":21,"column":9},"action":"remove","lines":["dist"],"id":59},{"start":{"row":21,"column":5},"end":{"row":21,"column":10},"action":"insert","lines":["build"]}],[{"start":{"row":21,"column":35},"end":{"row":21,"column":39},"action":"remove","lines":["dist"],"id":60},{"start":{"row":21,"column":35},"end":{"row":21,"column":40},"action":"insert","lines":["build"]}],[{"start":{"row":21,"column":56},"end":{"row":21,"column":60},"action":"remove","lines":["dist"],"id":61},{"start":{"row":21,"column":56},"end":{"row":21,"column":61},"action":"insert","lines":["build"]}],[{"start":{"row":21,"column":79},"end":{"row":21,"column":83},"action":"remove","lines":["dist"],"id":62},{"start":{"row":21,"column":79},"end":{"row":21,"column":84},"action":"insert","lines":["build"]}],[{"start":{"row":21,"column":105},"end":{"row":21,"column":109},"action":"remove","lines":["dist"],"id":63},{"start":{"row":21,"column":105},"end":{"row":21,"column":110},"action":"insert","lines":["build"]}],[{"start":{"row":21,"column":129},"end":{"row":21,"column":133},"action":"remove","lines":["dist"],"id":64},{"start":{"row":21,"column":129},"end":{"row":21,"column":134},"action":"insert","lines":["build"]}],[{"start":{"row":22,"column":5},"end":{"row":22,"column":9},"action":"remove","lines":["dist"],"id":65},{"start":{"row":22,"column":5},"end":{"row":22,"column":10},"action":"insert","lines":["build"]}],[{"start":{"row":22,"column":41},"end":{"row":22,"column":45},"action":"remove","lines":["dist"],"id":66},{"start":{"row":22,"column":41},"end":{"row":22,"column":46},"action":"insert","lines":["build"]}],[{"start":{"row":23,"column":5},"end":{"row":23,"column":9},"action":"remove","lines":["dist"],"id":67},{"start":{"row":23,"column":5},"end":{"row":23,"column":10},"action":"insert","lines":["build"]}],[{"start":{"row":23,"column":80},"end":{"row":23,"column":84},"action":"remove","lines":["dist"],"id":68},{"start":{"row":23,"column":80},"end":{"row":23,"column":85},"action":"insert","lines":["build"]}],[{"start":{"row":24,"column":5},"end":{"row":24,"column":9},"action":"remove","lines":["dist"],"id":69},{"start":{"row":24,"column":5},"end":{"row":24,"column":10},"action":"insert","lines":["build"]}],[{"start":{"row":24,"column":28},"end":{"row":24,"column":32},"action":"remove","lines":["dist"],"id":70},{"start":{"row":24,"column":28},"end":{"row":24,"column":33},"action":"insert","lines":["build"]}],[{"start":{"row":24,"column":52},"end":{"row":24,"column":56},"action":"remove","lines":["dist"],"id":71},{"start":{"row":24,"column":52},"end":{"row":24,"column":57},"action":"insert","lines":["build"]}],[{"start":{"row":25,"column":5},"end":{"row":25,"column":9},"action":"remove","lines":["dist"],"id":72},{"start":{"row":25,"column":5},"end":{"row":25,"column":10},"action":"insert","lines":["build"]}],[{"start":{"row":25,"column":73},"end":{"row":25,"column":77},"action":"remove","lines":["dist"],"id":73},{"start":{"row":25,"column":73},"end":{"row":25,"column":78},"action":"insert","lines":["build"]}],[{"start":{"row":26,"column":5},"end":{"row":26,"column":9},"action":"remove","lines":["dist"],"id":74},{"start":{"row":26,"column":5},"end":{"row":26,"column":10},"action":"insert","lines":["build"]}],[{"start":{"row":27,"column":33},"end":{"row":27,"column":37},"action":"remove","lines":["dist"],"id":75},{"start":{"row":27,"column":33},"end":{"row":27,"column":38},"action":"insert","lines":["build"]}],[{"start":{"row":38,"column":11},"end":{"row":38,"column":15},"action":"remove","lines":["dist"],"id":76},{"start":{"row":38,"column":11},"end":{"row":38,"column":16},"action":"insert","lines":["build"]}],[{"start":{"row":38,"column":29},"end":{"row":38,"column":33},"action":"remove","lines":["dist"],"id":77},{"start":{"row":38,"column":29},"end":{"row":38,"column":34},"action":"insert","lines":["build"]}],[{"start":{"row":38,"column":51},"end":{"row":38,"column":55},"action":"remove","lines":["dist"],"id":78},{"start":{"row":38,"column":51},"end":{"row":38,"column":56},"action":"insert","lines":["build"]}],[{"start":{"row":69,"column":19},"end":{"row":69,"column":23},"action":"remove","lines":["dist"],"id":79},{"start":{"row":69,"column":19},"end":{"row":69,"column":24},"action":"insert","lines":["build"]}],[{"start":{"row":9,"column":13},"end":{"row":9,"column":17},"action":"remove","lines":["dist"],"id":80},{"start":{"row":9,"column":13},"end":{"row":9,"column":18},"action":"insert","lines":["build"]}],[{"start":{"row":18,"column":117},"end":{"row":19,"column":0},"action":"insert","lines":["",""],"id":81},{"start":{"row":19,"column":0},"end":{"row":19,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":19,"column":4},"end":{"row":19,"column":217},"action":"insert","lines":["\"dist\": \"clear; echo \\\"* * * * PUBLISH * * * *\\\"; NODE_ENV=production npm run -s build:all; git add --all && git commit -m 'build for publish' && npm version patch && git push && git push --tags && npm publish\","],"id":82}],[{"start":{"row":19,"column":5},"end":{"row":19,"column":9},"action":"remove","lines":["dist"],"id":83},{"start":{"row":19,"column":5},"end":{"row":19,"column":19},"action":"insert","lines":["publish_to_npm"]}],[{"start":{"row":20,"column":94},"end":{"row":20,"column":95},"action":"insert","lines":["-"],"id":84}],[{"start":{"row":20,"column":95},"end":{"row":20,"column":96},"action":"insert","lines":["s"],"id":85}],[{"start":{"row":20,"column":96},"end":{"row":20,"column":97},"action":"insert","lines":[" "],"id":86}],[{"start":{"row":20,"column":102},"end":{"row":20,"column":103},"action":"insert","lines":[":"],"id":87}],[{"start":{"row":20,"column":103},"end":{"row":20,"column":104},"action":"insert","lines":["a"],"id":88}],[{"start":{"row":20,"column":104},"end":{"row":20,"column":105},"action":"insert","lines":["l"],"id":89}],[{"start":{"row":20,"column":105},"end":{"row":20,"column":106},"action":"insert","lines":["l"],"id":90}],[{"start":{"row":19,"column":106},"end":{"row":19,"column":107},"action":"remove","lines":[";"],"id":91}],[{"start":{"row":19,"column":106},"end":{"row":19,"column":107},"action":"insert","lines":[" "],"id":92}],[{"start":{"row":19,"column":107},"end":{"row":19,"column":108},"action":"insert","lines":["&"],"id":93}],[{"start":{"row":19,"column":108},"end":{"row":19,"column":109},"action":"insert","lines":["&"],"id":94}],[{"start":{"row":20,"column":141},"end":{"row":20,"column":143},"action":"remove","lines":["\\\""],"id":95},{"start":{"row":20,"column":141},"end":{"row":20,"column":142},"action":"insert","lines":["'"]}],[{"start":{"row":20,"column":159},"end":{"row":20,"column":161},"action":"remove","lines":["\\\""],"id":96},{"start":{"row":20,"column":159},"end":{"row":20,"column":160},"action":"insert","lines":["'"]}],[{"start":{"row":20,"column":0},"end":{"row":21,"column":0},"action":"remove","lines":[" \"publish_to_npm\": \"clear; echo \\\"* * * * PUBLISH * * * *\\\"; NODE_ENV=production npm run -s build:all && git add --all && git commit -m 'build for publish' && npm version patch && git push && git push --tags && npm publish\",",""],"id":97}],[{"start":{"row":19,"column":176},"end":{"row":19,"column":181},"action":"remove","lines":["patch"],"id":98},{"start":{"row":19,"column":176},"end":{"row":19,"column":177},"action":"insert","lines":["m"]}],[{"start":{"row":19,"column":177},"end":{"row":19,"column":178},"action":"insert","lines":["i"],"id":99}],[{"start":{"row":19,"column":178},"end":{"row":19,"column":179},"action":"insert","lines":["n"],"id":100}],[{"start":{"row":19,"column":179},"end":{"row":19,"column":180},"action":"insert","lines":["o"],"id":101}],[{"start":{"row":19,"column":180},"end":{"row":19,"column":181},"action":"insert","lines":["r"],"id":102}],[{"start":{"row":2,"column":16},"end":{"row":2,"column":19},"action":"remove","lines":["0.6"],"id":103,"ignore":true},{"start":{"row":2,"column":16},"end":{"row":2,"column":19},"action":"insert","lines":["1.0"]}],[{"start":{"row":2,"column":16},"end":{"row":2,"column":17},"action":"remove","lines":["1"],"id":109,"ignore":true},{"start":{"row":2,"column":16},"end":{"row":2,"column":17},"action":"insert","lines":["2"]}],[{"start":{"row":19,"column":176},"end":{"row":19,"column":181},"action":"remove","lines":["minor"],"id":110},{"start":{"row":19,"column":176},"end":{"row":19,"column":177},"action":"insert","lines":["p"]}],[{"start":{"row":19,"column":177},"end":{"row":19,"column":178},"action":"insert","lines":["a"],"id":111}],[{"start":{"row":19,"column":178},"end":{"row":19,"column":179},"action":"insert","lines":["t"],"id":112}],[{"start":{"row":19,"column":179},"end":{"row":19,"column":180},"action":"insert","lines":["c"],"id":113}],[{"start":{"row":19,"column":180},"end":{"row":19,"column":181},"action":"insert","lines":["h"],"id":114}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["0"],"id":115,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["1"]}],[{"start":{"row":24,"column":48},"end":{"row":24,"column":49},"action":"insert","lines":["|"],"id":116}],[{"start":{"row":24,"column":49},"end":{"row":24,"column":50},"action":"insert","lines":[" "],"id":117}],[{"start":{"row":24,"column":50},"end":{"row":24,"column":64},"action":"insert","lines":["partial:uglify"],"id":118}],[{"start":{"row":24,"column":64},"end":{"row":24,"column":65},"action":"insert","lines":[" "],"id":119}],[{"start":{"row":24,"column":50},"end":{"row":24,"column":51},"action":"insert","lines":["n"],"id":120}],[{"start":{"row":24,"column":51},"end":{"row":24,"column":52},"action":"insert","lines":["p"],"id":121}],[{"start":{"row":24,"column":52},"end":{"row":24,"column":53},"action":"insert","lines":["m"],"id":122}],[{"start":{"row":24,"column":53},"end":{"row":24,"column":54},"action":"insert","lines":[" "],"id":123}],[{"start":{"row":24,"column":54},"end":{"row":24,"column":55},"action":"insert","lines":["r"],"id":124}],[{"start":{"row":24,"column":55},"end":{"row":24,"column":56},"action":"insert","lines":["u"],"id":125}],[{"start":{"row":24,"column":56},"end":{"row":24,"column":57},"action":"insert","lines":["n"],"id":126}],[{"start":{"row":24,"column":57},"end":{"row":24,"column":58},"action":"insert","lines":[" "],"id":127}],[{"start":{"row":24,"column":58},"end":{"row":24,"column":59},"action":"insert","lines":["-"],"id":128}],[{"start":{"row":24,"column":59},"end":{"row":24,"column":60},"action":"insert","lines":["s"],"id":129}],[{"start":{"row":24,"column":60},"end":{"row":24,"column":61},"action":"insert","lines":[" "],"id":130}],[{"start":{"row":18,"column":117},"end":{"row":19,"column":0},"action":"insert","lines":["",""],"id":131},{"start":{"row":19,"column":0},"end":{"row":19,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":19,"column":4},"end":{"row":19,"column":106},"action":"insert","lines":["\"publish_to_npm\": \"clear; echo \\\"* * * * PUBLISH * * * *\\\"; NODE_ENV=production npm run -s build:all"],"id":132}],[{"start":{"row":19,"column":5},"end":{"row":19,"column":19},"action":"remove","lines":["publish_to_npm"],"id":133},{"start":{"row":19,"column":5},"end":{"row":19,"column":6},"action":"insert","lines":["b"]}],[{"start":{"row":19,"column":6},"end":{"row":19,"column":7},"action":"insert","lines":["u"],"id":134}],[{"start":{"row":19,"column":7},"end":{"row":19,"column":8},"action":"insert","lines":["i"],"id":135}],[{"start":{"row":19,"column":8},"end":{"row":19,"column":9},"action":"insert","lines":["l"],"id":136}],[{"start":{"row":19,"column":9},"end":{"row":19,"column":10},"action":"insert","lines":["d"],"id":137}],[{"start":{"row":19,"column":37},"end":{"row":19,"column":44},"action":"remove","lines":["PUBLISH"],"id":138},{"start":{"row":19,"column":37},"end":{"row":19,"column":38},"action":"insert","lines":["B"]}],[{"start":{"row":19,"column":38},"end":{"row":19,"column":39},"action":"insert","lines":["U"],"id":139}],[{"start":{"row":19,"column":39},"end":{"row":19,"column":40},"action":"insert","lines":["I"],"id":140}],[{"start":{"row":19,"column":40},"end":{"row":19,"column":41},"action":"insert","lines":["L"],"id":141}],[{"start":{"row":19,"column":41},"end":{"row":19,"column":42},"action":"insert","lines":["D"],"id":142}],[{"start":{"row":19,"column":95},"end":{"row":19,"column":96},"action":"insert","lines":["\""],"id":143}],[{"start":{"row":19,"column":96},"end":{"row":19,"column":97},"action":"insert","lines":[","],"id":144}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["1"],"id":147,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["2"]}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":148,"ignore":true},{"start":{"row":24,"column":24},"end":{"row":24,"column":27},"action":"insert","lines":["-R "]},{"start":{"row":24,"column":57},"end":{"row":24,"column":60},"action":"remove","lines":["-R "]},{"start":{"row":32,"column":27},"end":{"row":32,"column":30},"action":"insert","lines":["-R "]},{"start":{"row":32,"column":52},"end":{"row":32,"column":55},"action":"remove","lines":["-R "]},{"start":{"row":46,"column":0},"end":{"row":51,"column":0},"action":"remove","lines":[" \"classnames\": \"^2.2.5\","," \"react\": \"^15.0.2\","," \"react-date-picker\": \"^4.0.10\","," \"react-dom\": \"^15.0.2\","," \"react-highcharts\": \"^8.3.2\",",""]},{"start":{"row":51,"column":0},"end":{"row":52,"column":0},"action":"insert","lines":[" \"classnames\": \"^2.2.5\",",""]},{"start":{"row":56,"column":0},"end":{"row":57,"column":0},"action":"insert","lines":[" \"firebase-tools\": \"^2.1.1\",",""]},{"start":{"row":63,"column":0},"end":{"row":67,"column":0},"action":"insert","lines":[" \"react\": \"^15.0.2\","," \"react-date-picker\": \"^4.0.10\","," \"react-dom\": \"^15.0.2\","," \"react-highcharts\": \"^8.3.2\",",""]}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""],"id":149},{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""]}],[{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""],"id":150},{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""]}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""],"id":151},{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""]}],[{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""],"id":152},{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""]}],[{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""],"id":153},{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""]}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""],"id":154},{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"insert","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]}],[{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""],"id":155},{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"insert","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"remove","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""],"id":156},{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"insert","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]}],[{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""],"id":157},{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"insert","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]}],[{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""],"id":158},{"start":{"row":20,"column":0},"end":{"row":21,"column":0},"action":"insert","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":159},{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}],[{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":160},{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":161},{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}],[{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":162},{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}],[{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":163},{"start":{"row":20,"column":0},"end":{"row":21,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}],[{"start":{"row":20,"column":0},"end":{"row":21,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":164},{"start":{"row":21,"column":0},"end":{"row":22,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":[" \"_____\": \"\",",""],"id":165}],[{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":[" \"watch\": \"clear; echo \\\"* CLEAN * HTML * ASSETS * CSS * WATCHIFY *\\\"; NODE_ENV=development npm run -s watch:all\",",""],"id":166},{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"insert","lines":[" \"watch\": \"clear; echo \\\"* CLEAN * HTML * ASSETS * CSS * WATCHIFY *\\\"; NODE_ENV=development npm run -s watch:all\",",""]}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"remove","lines":[" \"build\": \"clear; echo \\\"* * * * BUILD * * * *\\\"; NODE_ENV=production npm run -s build:all\",",""],"id":167},{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"insert","lines":[" \"build\": \"clear; echo \\\"* * * * BUILD * * * *\\\"; NODE_ENV=production npm run -s build:all\",",""]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["2"],"id":168,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["3"]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["3"],"id":178,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["4"]}],[{"start":{"row":51,"column":24},"end":{"row":51,"column":25},"action":"remove","lines":["2"],"id":190,"ignore":true},{"start":{"row":51,"column":24},"end":{"row":51,"column":25},"action":"insert","lines":["4"]},{"start":{"row":55,"column":24},"end":{"row":55,"column":27},"action":"remove","lines":["2.1"]},{"start":{"row":55,"column":24},"end":{"row":55,"column":27},"action":"insert","lines":["3.0"]},{"start":{"row":62,"column":18},"end":{"row":62,"column":21},"action":"remove","lines":["0.2"]},{"start":{"row":62,"column":18},"end":{"row":62,"column":21},"action":"insert","lines":["1.0"]},{"start":{"row":63,"column":27},"end":{"row":63,"column":28},"action":"remove","lines":["4"]},{"start":{"row":63,"column":27},"end":{"row":63,"column":28},"action":"insert","lines":["5"]},{"start":{"row":63,"column":31},"end":{"row":63,"column":33},"action":"remove","lines":["10"]},{"start":{"row":63,"column":31},"end":{"row":63,"column":38},"action":"insert","lines":["4-alpha"]},{"start":{"row":64,"column":22},"end":{"row":64,"column":25},"action":"remove","lines":["0.2"]},{"start":{"row":64,"column":22},"end":{"row":64,"column":25},"action":"insert","lines":["1.0"]}],[{"start":{"row":69,"column":4},"end":{"row":70,"column":0},"action":"insert","lines":["",""],"id":191},{"start":{"row":70,"column":0},"end":{"row":70,"column":2},"action":"insert","lines":[" "]}],[{"start":{"row":63,"column":27},"end":{"row":63,"column":38},"action":"remove","lines":["5.0.4-alpha"],"id":193},{"start":{"row":63,"column":27},"end":{"row":63,"column":28},"action":"insert","lines":["4"]}],[{"start":{"row":63,"column":28},"end":{"row":63,"column":29},"action":"insert","lines":["."],"id":194}],[{"start":{"row":63,"column":29},"end":{"row":63,"column":30},"action":"insert","lines":["x"],"id":195}],[{"start":{"row":63,"column":30},"end":{"row":63,"column":31},"action":"insert","lines":["."],"id":196}],[{"start":{"row":63,"column":31},"end":{"row":63,"column":32},"action":"insert","lines":["x"],"id":197}],[{"start":{"row":55,"column":24},"end":{"row":55,"column":25},"action":"remove","lines":["3"],"id":198}],[{"start":{"row":55,"column":24},"end":{"row":55,"column":25},"action":"insert","lines":["2"],"id":199}],[{"start":{"row":55,"column":26},"end":{"row":55,"column":27},"action":"remove","lines":["0"],"id":200}],[{"start":{"row":55,"column":26},"end":{"row":55,"column":27},"action":"insert","lines":["x"],"id":201}],[{"start":{"row":55,"column":28},"end":{"row":55,"column":29},"action":"remove","lines":["1"],"id":202}],[{"start":{"row":55,"column":28},"end":{"row":55,"column":29},"action":"insert","lines":["x"],"id":203}],[{"start":{"row":70,"column":0},"end":{"row":70,"column":2},"action":"remove","lines":[" "],"id":204}]]},"ace":{"folds":[],"scrolltop":120,"scrollleft":0,"selection":{"start":{"row":19,"column":5},"end":{"row":19,"column":19},"isBackwards":true},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":8,"state":"start","mode":"ace/mode/json"}},"timestamp":1464697447179,"hash":"fe6e24448fb73e21b340fed682c9490e62502d83"}
{"filter":false,"title":"package.json","tooltip":"/package.json","undoManager":{"mark":180,"position":180,"stack":[[{"start":{"row":18,"column":32},"end":{"row":18,"column":42},"action":"remove","lines":["* * WATCH"],"id":2},{"start":{"row":18,"column":32},"end":{"row":18,"column":33},"action":"insert","lines":["C"]}],[{"start":{"row":18,"column":33},"end":{"row":18,"column":34},"action":"insert","lines":["L"],"id":3}],[{"start":{"row":18,"column":34},"end":{"row":18,"column":35},"action":"insert","lines":["E"],"id":4}],[{"start":{"row":18,"column":35},"end":{"row":18,"column":36},"action":"insert","lines":["A"],"id":5}],[{"start":{"row":18,"column":36},"end":{"row":18,"column":37},"action":"insert","lines":["N"],"id":6}],[{"start":{"row":18,"column":37},"end":{"row":18,"column":38},"action":"insert","lines":[" "],"id":7}],[{"start":{"row":18,"column":38},"end":{"row":18,"column":39},"action":"insert","lines":["*"],"id":8}],[{"start":{"row":18,"column":39},"end":{"row":18,"column":40},"action":"insert","lines":["*"],"id":9}],[{"start":{"row":18,"column":39},"end":{"row":18,"column":40},"action":"remove","lines":["*"],"id":10}],[{"start":{"row":18,"column":39},"end":{"row":18,"column":40},"action":"insert","lines":[" "],"id":11}],[{"start":{"row":18,"column":40},"end":{"row":18,"column":41},"action":"insert","lines":["*"],"id":12}],[{"start":{"row":18,"column":41},"end":{"row":18,"column":42},"action":"insert","lines":[" "],"id":13}],[{"start":{"row":18,"column":42},"end":{"row":18,"column":66},"action":"insert","lines":["HTML ASSETS CSS WATCHIFY"],"id":14}],[{"start":{"row":18,"column":66},"end":{"row":18,"column":67},"action":"insert","lines":[" "],"id":15}],[{"start":{"row":18,"column":67},"end":{"row":18,"column":68},"action":"remove","lines":[" "],"id":16}],[{"start":{"row":18,"column":67},"end":{"row":18,"column":72},"action":"remove","lines":[" * * "],"id":17}],[{"start":{"row":18,"column":57},"end":{"row":18,"column":58},"action":"remove","lines":[" "],"id":18},{"start":{"row":18,"column":57},"end":{"row":18,"column":62},"action":"insert","lines":[" * * "]}],[{"start":{"row":18,"column":53},"end":{"row":18,"column":54},"action":"remove","lines":[" "],"id":19},{"start":{"row":18,"column":53},"end":{"row":18,"column":58},"action":"insert","lines":[" * * "]}],[{"start":{"row":18,"column":46},"end":{"row":18,"column":47},"action":"remove","lines":[" "],"id":20},{"start":{"row":18,"column":46},"end":{"row":18,"column":51},"action":"insert","lines":[" * * "]}],[{"start":{"row":37,"column":62},"end":{"row":37,"column":102},"action":"remove","lines":["--- Building HTML ASSETS CSS WATCHIFY..."],"id":21},{"start":{"row":37,"column":62},"end":{"row":37,"column":86},"action":"insert","lines":["---------CLEAN----------"]}],[{"start":{"row":18,"column":40},"end":{"row":18,"column":41},"action":"remove","lines":["*"],"id":22}],[{"start":{"row":18,"column":39},"end":{"row":18,"column":40},"action":"remove","lines":[" "],"id":23}],[{"start":{"row":18,"column":45},"end":{"row":18,"column":46},"action":"remove","lines":["*"],"id":24}],[{"start":{"row":18,"column":45},"end":{"row":18,"column":46},"action":"remove","lines":[" "],"id":25}],[{"start":{"row":18,"column":54},"end":{"row":18,"column":55},"action":"remove","lines":["*"],"id":26}],[{"start":{"row":18,"column":54},"end":{"row":18,"column":55},"action":"remove","lines":[" "],"id":27}],[{"start":{"row":18,"column":60},"end":{"row":18,"column":61},"action":"remove","lines":["*"],"id":28}],[{"start":{"row":18,"column":60},"end":{"row":18,"column":61},"action":"remove","lines":[" "],"id":29}],[{"start":{"row":18,"column":31},"end":{"row":18,"column":32},"action":"remove","lines":[" "],"id":30}],[{"start":{"row":18,"column":30},"end":{"row":18,"column":31},"action":"remove","lines":["*"],"id":31}],[{"start":{"row":18,"column":71},"end":{"row":18,"column":72},"action":"remove","lines":["*"],"id":32}],[{"start":{"row":18,"column":70},"end":{"row":18,"column":71},"action":"remove","lines":[" "],"id":33}],[{"start":{"row":19,"column":211},"end":{"row":20,"column":0},"action":"insert","lines":["",""],"id":35},{"start":{"row":20,"column":0},"end":{"row":20,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":20,"column":4},"end":{"row":20,"column":161},"action":"insert","lines":["\"publish_to_npm\": \"npm run build && git add --all && git commit -m \\\"build for publish\\\" && npm version patch && git push && git push --tags && npm publish\","],"id":36}],[{"start":{"row":20,"column":23},"end":{"row":20,"column":62},"action":"insert","lines":["clear; echo \\\"* * * * DIST * * * *\\\";"],"id":37}],[{"start":{"row":20,"column":62},"end":{"row":20,"column":63},"action":"insert","lines":[" "],"id":38}],[{"start":{"row":20,"column":46},"end":{"row":20,"column":50},"action":"remove","lines":["DIST"],"id":39},{"start":{"row":20,"column":46},"end":{"row":20,"column":47},"action":"insert","lines":["P"]}],[{"start":{"row":20,"column":47},"end":{"row":20,"column":48},"action":"insert","lines":["U"],"id":40}],[{"start":{"row":20,"column":48},"end":{"row":20,"column":49},"action":"insert","lines":["B"],"id":41}],[{"start":{"row":20,"column":49},"end":{"row":20,"column":50},"action":"insert","lines":["L"],"id":42}],[{"start":{"row":20,"column":50},"end":{"row":20,"column":51},"action":"insert","lines":["I"],"id":43}],[{"start":{"row":20,"column":51},"end":{"row":20,"column":52},"action":"insert","lines":["S"],"id":44}],[{"start":{"row":20,"column":52},"end":{"row":20,"column":53},"action":"insert","lines":["H"],"id":45}],[{"start":{"row":20,"column":66},"end":{"row":20,"column":85},"action":"insert","lines":["NODE_ENV=production"],"id":46}],[{"start":{"row":20,"column":85},"end":{"row":20,"column":86},"action":"insert","lines":[" "],"id":47}],[{"start":{"row":19,"column":84},"end":{"row":19,"column":88},"action":"remove","lines":["dist"],"id":49},{"start":{"row":19,"column":84},"end":{"row":19,"column":85},"action":"insert","lines":["b"]}],[{"start":{"row":19,"column":85},"end":{"row":19,"column":86},"action":"insert","lines":["u"],"id":50}],[{"start":{"row":19,"column":86},"end":{"row":19,"column":87},"action":"insert","lines":["i"],"id":51}],[{"start":{"row":19,"column":87},"end":{"row":19,"column":88},"action":"insert","lines":["l"],"id":52}],[{"start":{"row":19,"column":88},"end":{"row":19,"column":89},"action":"insert","lines":["d"],"id":53}],[{"start":{"row":19,"column":36},"end":{"row":19,"column":40},"action":"remove","lines":["DIST"],"id":54},{"start":{"row":19,"column":36},"end":{"row":19,"column":43},"action":"insert","lines":["PUBLISH"]}],[{"start":{"row":19,"column":136},"end":{"row":19,"column":137},"action":"remove","lines":["&"],"id":55},{"start":{"row":19,"column":136},"end":{"row":19,"column":137},"action":"insert","lines":["f"]}],[{"start":{"row":19,"column":137},"end":{"row":19,"column":138},"action":"insert","lines":["o"],"id":56}],[{"start":{"row":19,"column":138},"end":{"row":19,"column":139},"action":"insert","lines":["r"],"id":57}],[{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":[" \"dist\": \"clear; echo \\\"* * * * PUBLISH * * * *\\\"; NODE_ENV=production npm run -s build:all; git add --all && git commit -m 'build for publish' && npm version patch && git push && git push --tags && npm publish\",",""],"id":58}],[{"start":{"row":21,"column":5},"end":{"row":21,"column":9},"action":"remove","lines":["dist"],"id":59},{"start":{"row":21,"column":5},"end":{"row":21,"column":10},"action":"insert","lines":["build"]}],[{"start":{"row":21,"column":35},"end":{"row":21,"column":39},"action":"remove","lines":["dist"],"id":60},{"start":{"row":21,"column":35},"end":{"row":21,"column":40},"action":"insert","lines":["build"]}],[{"start":{"row":21,"column":56},"end":{"row":21,"column":60},"action":"remove","lines":["dist"],"id":61},{"start":{"row":21,"column":56},"end":{"row":21,"column":61},"action":"insert","lines":["build"]}],[{"start":{"row":21,"column":79},"end":{"row":21,"column":83},"action":"remove","lines":["dist"],"id":62},{"start":{"row":21,"column":79},"end":{"row":21,"column":84},"action":"insert","lines":["build"]}],[{"start":{"row":21,"column":105},"end":{"row":21,"column":109},"action":"remove","lines":["dist"],"id":63},{"start":{"row":21,"column":105},"end":{"row":21,"column":110},"action":"insert","lines":["build"]}],[{"start":{"row":21,"column":129},"end":{"row":21,"column":133},"action":"remove","lines":["dist"],"id":64},{"start":{"row":21,"column":129},"end":{"row":21,"column":134},"action":"insert","lines":["build"]}],[{"start":{"row":22,"column":5},"end":{"row":22,"column":9},"action":"remove","lines":["dist"],"id":65},{"start":{"row":22,"column":5},"end":{"row":22,"column":10},"action":"insert","lines":["build"]}],[{"start":{"row":22,"column":41},"end":{"row":22,"column":45},"action":"remove","lines":["dist"],"id":66},{"start":{"row":22,"column":41},"end":{"row":22,"column":46},"action":"insert","lines":["build"]}],[{"start":{"row":23,"column":5},"end":{"row":23,"column":9},"action":"remove","lines":["dist"],"id":67},{"start":{"row":23,"column":5},"end":{"row":23,"column":10},"action":"insert","lines":["build"]}],[{"start":{"row":23,"column":80},"end":{"row":23,"column":84},"action":"remove","lines":["dist"],"id":68},{"start":{"row":23,"column":80},"end":{"row":23,"column":85},"action":"insert","lines":["build"]}],[{"start":{"row":24,"column":5},"end":{"row":24,"column":9},"action":"remove","lines":["dist"],"id":69},{"start":{"row":24,"column":5},"end":{"row":24,"column":10},"action":"insert","lines":["build"]}],[{"start":{"row":24,"column":28},"end":{"row":24,"column":32},"action":"remove","lines":["dist"],"id":70},{"start":{"row":24,"column":28},"end":{"row":24,"column":33},"action":"insert","lines":["build"]}],[{"start":{"row":24,"column":52},"end":{"row":24,"column":56},"action":"remove","lines":["dist"],"id":71},{"start":{"row":24,"column":52},"end":{"row":24,"column":57},"action":"insert","lines":["build"]}],[{"start":{"row":25,"column":5},"end":{"row":25,"column":9},"action":"remove","lines":["dist"],"id":72},{"start":{"row":25,"column":5},"end":{"row":25,"column":10},"action":"insert","lines":["build"]}],[{"start":{"row":25,"column":73},"end":{"row":25,"column":77},"action":"remove","lines":["dist"],"id":73},{"start":{"row":25,"column":73},"end":{"row":25,"column":78},"action":"insert","lines":["build"]}],[{"start":{"row":26,"column":5},"end":{"row":26,"column":9},"action":"remove","lines":["dist"],"id":74},{"start":{"row":26,"column":5},"end":{"row":26,"column":10},"action":"insert","lines":["build"]}],[{"start":{"row":27,"column":33},"end":{"row":27,"column":37},"action":"remove","lines":["dist"],"id":75},{"start":{"row":27,"column":33},"end":{"row":27,"column":38},"action":"insert","lines":["build"]}],[{"start":{"row":38,"column":11},"end":{"row":38,"column":15},"action":"remove","lines":["dist"],"id":76},{"start":{"row":38,"column":11},"end":{"row":38,"column":16},"action":"insert","lines":["build"]}],[{"start":{"row":38,"column":29},"end":{"row":38,"column":33},"action":"remove","lines":["dist"],"id":77},{"start":{"row":38,"column":29},"end":{"row":38,"column":34},"action":"insert","lines":["build"]}],[{"start":{"row":38,"column":51},"end":{"row":38,"column":55},"action":"remove","lines":["dist"],"id":78},{"start":{"row":38,"column":51},"end":{"row":38,"column":56},"action":"insert","lines":["build"]}],[{"start":{"row":69,"column":19},"end":{"row":69,"column":23},"action":"remove","lines":["dist"],"id":79},{"start":{"row":69,"column":19},"end":{"row":69,"column":24},"action":"insert","lines":["build"]}],[{"start":{"row":9,"column":13},"end":{"row":9,"column":17},"action":"remove","lines":["dist"],"id":80},{"start":{"row":9,"column":13},"end":{"row":9,"column":18},"action":"insert","lines":["build"]}],[{"start":{"row":18,"column":117},"end":{"row":19,"column":0},"action":"insert","lines":["",""],"id":81},{"start":{"row":19,"column":0},"end":{"row":19,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":19,"column":4},"end":{"row":19,"column":217},"action":"insert","lines":["\"dist\": \"clear; echo \\\"* * * * PUBLISH * * * *\\\"; NODE_ENV=production npm run -s build:all; git add --all && git commit -m 'build for publish' && npm version patch && git push && git push --tags && npm publish\","],"id":82}],[{"start":{"row":19,"column":5},"end":{"row":19,"column":9},"action":"remove","lines":["dist"],"id":83},{"start":{"row":19,"column":5},"end":{"row":19,"column":19},"action":"insert","lines":["publish_to_npm"]}],[{"start":{"row":20,"column":94},"end":{"row":20,"column":95},"action":"insert","lines":["-"],"id":84}],[{"start":{"row":20,"column":95},"end":{"row":20,"column":96},"action":"insert","lines":["s"],"id":85}],[{"start":{"row":20,"column":96},"end":{"row":20,"column":97},"action":"insert","lines":[" "],"id":86}],[{"start":{"row":20,"column":102},"end":{"row":20,"column":103},"action":"insert","lines":[":"],"id":87}],[{"start":{"row":20,"column":103},"end":{"row":20,"column":104},"action":"insert","lines":["a"],"id":88}],[{"start":{"row":20,"column":104},"end":{"row":20,"column":105},"action":"insert","lines":["l"],"id":89}],[{"start":{"row":20,"column":105},"end":{"row":20,"column":106},"action":"insert","lines":["l"],"id":90}],[{"start":{"row":19,"column":106},"end":{"row":19,"column":107},"action":"remove","lines":[";"],"id":91}],[{"start":{"row":19,"column":106},"end":{"row":19,"column":107},"action":"insert","lines":[" "],"id":92}],[{"start":{"row":19,"column":107},"end":{"row":19,"column":108},"action":"insert","lines":["&"],"id":93}],[{"start":{"row":19,"column":108},"end":{"row":19,"column":109},"action":"insert","lines":["&"],"id":94}],[{"start":{"row":20,"column":141},"end":{"row":20,"column":143},"action":"remove","lines":["\\\""],"id":95},{"start":{"row":20,"column":141},"end":{"row":20,"column":142},"action":"insert","lines":["'"]}],[{"start":{"row":20,"column":159},"end":{"row":20,"column":161},"action":"remove","lines":["\\\""],"id":96},{"start":{"row":20,"column":159},"end":{"row":20,"column":160},"action":"insert","lines":["'"]}],[{"start":{"row":20,"column":0},"end":{"row":21,"column":0},"action":"remove","lines":[" \"publish_to_npm\": \"clear; echo \\\"* * * * PUBLISH * * * *\\\"; NODE_ENV=production npm run -s build:all && git add --all && git commit -m 'build for publish' && npm version patch && git push && git push --tags && npm publish\",",""],"id":97}],[{"start":{"row":19,"column":176},"end":{"row":19,"column":181},"action":"remove","lines":["patch"],"id":98},{"start":{"row":19,"column":176},"end":{"row":19,"column":177},"action":"insert","lines":["m"]}],[{"start":{"row":19,"column":177},"end":{"row":19,"column":178},"action":"insert","lines":["i"],"id":99}],[{"start":{"row":19,"column":178},"end":{"row":19,"column":179},"action":"insert","lines":["n"],"id":100}],[{"start":{"row":19,"column":179},"end":{"row":19,"column":180},"action":"insert","lines":["o"],"id":101}],[{"start":{"row":19,"column":180},"end":{"row":19,"column":181},"action":"insert","lines":["r"],"id":102}],[{"start":{"row":2,"column":16},"end":{"row":2,"column":19},"action":"remove","lines":["0.6"],"id":103,"ignore":true},{"start":{"row":2,"column":16},"end":{"row":2,"column":19},"action":"insert","lines":["1.0"]}],[{"start":{"row":2,"column":16},"end":{"row":2,"column":17},"action":"remove","lines":["1"],"id":109,"ignore":true},{"start":{"row":2,"column":16},"end":{"row":2,"column":17},"action":"insert","lines":["2"]}],[{"start":{"row":19,"column":176},"end":{"row":19,"column":181},"action":"remove","lines":["minor"],"id":110},{"start":{"row":19,"column":176},"end":{"row":19,"column":177},"action":"insert","lines":["p"]}],[{"start":{"row":19,"column":177},"end":{"row":19,"column":178},"action":"insert","lines":["a"],"id":111}],[{"start":{"row":19,"column":178},"end":{"row":19,"column":179},"action":"insert","lines":["t"],"id":112}],[{"start":{"row":19,"column":179},"end":{"row":19,"column":180},"action":"insert","lines":["c"],"id":113}],[{"start":{"row":19,"column":180},"end":{"row":19,"column":181},"action":"insert","lines":["h"],"id":114}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["0"],"id":115,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["1"]}],[{"start":{"row":24,"column":48},"end":{"row":24,"column":49},"action":"insert","lines":["|"],"id":116}],[{"start":{"row":24,"column":49},"end":{"row":24,"column":50},"action":"insert","lines":[" "],"id":117}],[{"start":{"row":24,"column":50},"end":{"row":24,"column":64},"action":"insert","lines":["partial:uglify"],"id":118}],[{"start":{"row":24,"column":64},"end":{"row":24,"column":65},"action":"insert","lines":[" "],"id":119}],[{"start":{"row":24,"column":50},"end":{"row":24,"column":51},"action":"insert","lines":["n"],"id":120}],[{"start":{"row":24,"column":51},"end":{"row":24,"column":52},"action":"insert","lines":["p"],"id":121}],[{"start":{"row":24,"column":52},"end":{"row":24,"column":53},"action":"insert","lines":["m"],"id":122}],[{"start":{"row":24,"column":53},"end":{"row":24,"column":54},"action":"insert","lines":[" "],"id":123}],[{"start":{"row":24,"column":54},"end":{"row":24,"column":55},"action":"insert","lines":["r"],"id":124}],[{"start":{"row":24,"column":55},"end":{"row":24,"column":56},"action":"insert","lines":["u"],"id":125}],[{"start":{"row":24,"column":56},"end":{"row":24,"column":57},"action":"insert","lines":["n"],"id":126}],[{"start":{"row":24,"column":57},"end":{"row":24,"column":58},"action":"insert","lines":[" "],"id":127}],[{"start":{"row":24,"column":58},"end":{"row":24,"column":59},"action":"insert","lines":["-"],"id":128}],[{"start":{"row":24,"column":59},"end":{"row":24,"column":60},"action":"insert","lines":["s"],"id":129}],[{"start":{"row":24,"column":60},"end":{"row":24,"column":61},"action":"insert","lines":[" "],"id":130}],[{"start":{"row":18,"column":117},"end":{"row":19,"column":0},"action":"insert","lines":["",""],"id":131},{"start":{"row":19,"column":0},"end":{"row":19,"column":4},"action":"insert","lines":[" "]}],[{"start":{"row":19,"column":4},"end":{"row":19,"column":106},"action":"insert","lines":["\"publish_to_npm\": \"clear; echo \\\"* * * * PUBLISH * * * *\\\"; NODE_ENV=production npm run -s build:all"],"id":132}],[{"start":{"row":19,"column":5},"end":{"row":19,"column":19},"action":"remove","lines":["publish_to_npm"],"id":133},{"start":{"row":19,"column":5},"end":{"row":19,"column":6},"action":"insert","lines":["b"]}],[{"start":{"row":19,"column":6},"end":{"row":19,"column":7},"action":"insert","lines":["u"],"id":134}],[{"start":{"row":19,"column":7},"end":{"row":19,"column":8},"action":"insert","lines":["i"],"id":135}],[{"start":{"row":19,"column":8},"end":{"row":19,"column":9},"action":"insert","lines":["l"],"id":136}],[{"start":{"row":19,"column":9},"end":{"row":19,"column":10},"action":"insert","lines":["d"],"id":137}],[{"start":{"row":19,"column":37},"end":{"row":19,"column":44},"action":"remove","lines":["PUBLISH"],"id":138},{"start":{"row":19,"column":37},"end":{"row":19,"column":38},"action":"insert","lines":["B"]}],[{"start":{"row":19,"column":38},"end":{"row":19,"column":39},"action":"insert","lines":["U"],"id":139}],[{"start":{"row":19,"column":39},"end":{"row":19,"column":40},"action":"insert","lines":["I"],"id":140}],[{"start":{"row":19,"column":40},"end":{"row":19,"column":41},"action":"insert","lines":["L"],"id":141}],[{"start":{"row":19,"column":41},"end":{"row":19,"column":42},"action":"insert","lines":["D"],"id":142}],[{"start":{"row":19,"column":95},"end":{"row":19,"column":96},"action":"insert","lines":["\""],"id":143}],[{"start":{"row":19,"column":96},"end":{"row":19,"column":97},"action":"insert","lines":[","],"id":144}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["1"],"id":147,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["2"]}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":148,"ignore":true},{"start":{"row":24,"column":24},"end":{"row":24,"column":27},"action":"insert","lines":["-R "]},{"start":{"row":24,"column":57},"end":{"row":24,"column":60},"action":"remove","lines":["-R "]},{"start":{"row":32,"column":27},"end":{"row":32,"column":30},"action":"insert","lines":["-R "]},{"start":{"row":32,"column":52},"end":{"row":32,"column":55},"action":"remove","lines":["-R "]},{"start":{"row":46,"column":0},"end":{"row":51,"column":0},"action":"remove","lines":[" \"classnames\": \"^2.2.5\","," \"react\": \"^15.0.2\","," \"react-date-picker\": \"^4.0.10\","," \"react-dom\": \"^15.0.2\","," \"react-highcharts\": \"^8.3.2\",",""]},{"start":{"row":51,"column":0},"end":{"row":52,"column":0},"action":"insert","lines":[" \"classnames\": \"^2.2.5\",",""]},{"start":{"row":56,"column":0},"end":{"row":57,"column":0},"action":"insert","lines":[" \"firebase-tools\": \"^2.1.1\",",""]},{"start":{"row":63,"column":0},"end":{"row":67,"column":0},"action":"insert","lines":[" \"react\": \"^15.0.2\","," \"react-date-picker\": \"^4.0.10\","," \"react-dom\": \"^15.0.2\","," \"react-highcharts\": \"^8.3.2\",",""]}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""],"id":149},{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""]}],[{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""],"id":150},{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""]}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""],"id":151},{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""]}],[{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""],"id":152},{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""]}],[{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""],"id":153},{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\",",""]}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""],"id":154},{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"insert","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]}],[{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""],"id":155},{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"insert","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"remove","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""],"id":156},{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"insert","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]}],[{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""],"id":157},{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"insert","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]}],[{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""],"id":158},{"start":{"row":20,"column":0},"end":{"row":21,"column":0},"action":"insert","lines":[" \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":159},{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}],[{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":160},{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":161},{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}],[{"start":{"row":18,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":162},{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}],[{"start":{"row":19,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":163},{"start":{"row":20,"column":0},"end":{"row":21,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}],[{"start":{"row":20,"column":0},"end":{"row":21,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""],"id":164},{"start":{"row":21,"column":0},"end":{"row":22,"column":0},"action":"insert","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}],[{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"remove","lines":[" \"_____\": \"\",",""],"id":165}],[{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":[" \"watch\": \"clear; echo \\\"* CLEAN * HTML * ASSETS * CSS * WATCHIFY *\\\"; NODE_ENV=development npm run -s watch:all\",",""],"id":166},{"start":{"row":15,"column":0},"end":{"row":16,"column":0},"action":"insert","lines":[" \"watch\": \"clear; echo \\\"* CLEAN * HTML * ASSETS * CSS * WATCHIFY *\\\"; NODE_ENV=development npm run -s watch:all\",",""]}],[{"start":{"row":17,"column":0},"end":{"row":18,"column":0},"action":"remove","lines":[" \"build\": \"clear; echo \\\"* * * * BUILD * * * *\\\"; NODE_ENV=production npm run -s build:all\",",""],"id":167},{"start":{"row":16,"column":0},"end":{"row":17,"column":0},"action":"insert","lines":[" \"build\": \"clear; echo \\\"* * * * BUILD * * * *\\\"; NODE_ENV=production npm run -s build:all\",",""]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["2"],"id":168,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["3"]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["3"],"id":178,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["4"]}],[{"start":{"row":51,"column":24},"end":{"row":51,"column":25},"action":"remove","lines":["2"],"id":190,"ignore":true},{"start":{"row":51,"column":24},"end":{"row":51,"column":25},"action":"insert","lines":["4"]},{"start":{"row":55,"column":24},"end":{"row":55,"column":27},"action":"remove","lines":["2.1"]},{"start":{"row":55,"column":24},"end":{"row":55,"column":27},"action":"insert","lines":["3.0"]},{"start":{"row":62,"column":18},"end":{"row":62,"column":21},"action":"remove","lines":["0.2"]},{"start":{"row":62,"column":18},"end":{"row":62,"column":21},"action":"insert","lines":["1.0"]},{"start":{"row":63,"column":27},"end":{"row":63,"column":28},"action":"remove","lines":["4"]},{"start":{"row":63,"column":27},"end":{"row":63,"column":28},"action":"insert","lines":["5"]},{"start":{"row":63,"column":31},"end":{"row":63,"column":33},"action":"remove","lines":["10"]},{"start":{"row":63,"column":31},"end":{"row":63,"column":38},"action":"insert","lines":["4-alpha"]},{"start":{"row":64,"column":22},"end":{"row":64,"column":25},"action":"remove","lines":["0.2"]},{"start":{"row":64,"column":22},"end":{"row":64,"column":25},"action":"insert","lines":["1.0"]}],[{"start":{"row":69,"column":4},"end":{"row":70,"column":0},"action":"insert","lines":["",""],"id":191},{"start":{"row":70,"column":0},"end":{"row":70,"column":2},"action":"insert","lines":[" "]}],[{"start":{"row":63,"column":27},"end":{"row":63,"column":38},"action":"remove","lines":["5.0.4-alpha"],"id":193},{"start":{"row":63,"column":27},"end":{"row":63,"column":28},"action":"insert","lines":["4"]}],[{"start":{"row":63,"column":28},"end":{"row":63,"column":29},"action":"insert","lines":["."],"id":194}],[{"start":{"row":63,"column":29},"end":{"row":63,"column":30},"action":"insert","lines":["x"],"id":195}],[{"start":{"row":63,"column":30},"end":{"row":63,"column":31},"action":"insert","lines":["."],"id":196}],[{"start":{"row":63,"column":31},"end":{"row":63,"column":32},"action":"insert","lines":["x"],"id":197}],[{"start":{"row":55,"column":24},"end":{"row":55,"column":25},"action":"remove","lines":["3"],"id":198}],[{"start":{"row":55,"column":24},"end":{"row":55,"column":25},"action":"insert","lines":["2"],"id":199}],[{"start":{"row":55,"column":26},"end":{"row":55,"column":27},"action":"remove","lines":["0"],"id":200}],[{"start":{"row":55,"column":26},"end":{"row":55,"column":27},"action":"insert","lines":["x"],"id":201}],[{"start":{"row":55,"column":28},"end":{"row":55,"column":29},"action":"remove","lines":["1"],"id":202}],[{"start":{"row":55,"column":28},"end":{"row":55,"column":29},"action":"insert","lines":["x"],"id":203}],[{"start":{"row":70,"column":0},"end":{"row":70,"column":2},"action":"remove","lines":[" "],"id":204}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["4"],"id":205,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["5"]},{"start":{"row":70,"column":0},"end":{"row":71,"column":0},"action":"remove","lines":["",""]}],[{"start":{"row":60,"column":0},"end":{"row":61,"column":0},"action":"insert","lines":[" \"lodash\": \"^4.13.1\",",""],"id":206,"ignore":true}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["5"],"id":207,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["6"]},{"start":{"row":15,"column":0},"end":{"row":20,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\","," \"test\": \"NODE_ENV=test mocha\","," \"test:watch\": \"npm test -- --watch\","," \"deploy:demo\": \"firebase deploy -f augur-ui\","," \"_____\": \"\",",""]},{"start":{"row":22,"column":0},"end":{"row":24,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\","," \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]},{"start":{"row":51,"column":0},"end":{"row":52,"column":0},"action":"insert","lines":[" \"babel-register\": \"^6.9.0\",",""]},{"start":{"row":54,"column":0},"end":{"row":55,"column":0},"action":"insert","lines":[" \"chai\": \"^3.5.0\",",""]},{"start":{"row":65,"column":5},"end":{"row":65,"column":22},"action":"remove","lines":["lodash\": \"^4.13.1"]},{"start":{"row":65,"column":5},"end":{"row":65,"column":20},"action":"insert","lines":["mocha\": \"^2.5.3"]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["6"],"id":208,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["5"]},{"start":{"row":15,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\","," \"test\": \"NODE_ENV=test mocha\","," \"test:watch\": \"npm test -- --watch\","," \"deploy:demo\": \"firebase deploy -f augur-ui\","," \"_____\": \"\",",""]},{"start":{"row":17,"column":0},"end":{"row":19,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\","," \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]},{"start":{"row":48,"column":0},"end":{"row":49,"column":0},"action":"remove","lines":[" \"babel-register\": \"^6.9.0\",",""]},{"start":{"row":50,"column":0},"end":{"row":51,"column":0},"action":"remove","lines":[" \"chai\": \"^3.5.0\",",""]},{"start":{"row":60,"column":0},"end":{"row":61,"column":0},"action":"remove","lines":[" \"mocha\": \"^2.5.3\",",""]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["5"],"id":209,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["6"]},{"start":{"row":15,"column":0},"end":{"row":20,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\","," \"test\": \"NODE_ENV=test mocha\","," \"test:watch\": \"npm test -- --watch\","," \"deploy:demo\": \"firebase deploy -f augur-ui\","," \"_____\": \"\",",""]},{"start":{"row":22,"column":0},"end":{"row":24,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\","," \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]},{"start":{"row":51,"column":0},"end":{"row":52,"column":0},"action":"insert","lines":[" \"babel-register\": \"^6.9.0\",",""]},{"start":{"row":54,"column":0},"end":{"row":55,"column":0},"action":"insert","lines":[" \"chai\": \"^3.5.0\",",""]},{"start":{"row":65,"column":0},"end":{"row":66,"column":0},"action":"insert","lines":[" \"mocha\": \"^2.5.3\",",""]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["6"],"id":210,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["5"]},{"start":{"row":15,"column":0},"end":{"row":20,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\","," \"test\": \"NODE_ENV=test mocha\","," \"test:watch\": \"npm test -- --watch\","," \"deploy:demo\": \"firebase deploy -f augur-ui\","," \"_____\": \"\",",""]},{"start":{"row":17,"column":0},"end":{"row":19,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\","," \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]},{"start":{"row":48,"column":0},"end":{"row":49,"column":0},"action":"remove","lines":[" \"babel-register\": \"^6.9.0\",",""]},{"start":{"row":50,"column":0},"end":{"row":51,"column":0},"action":"remove","lines":[" \"chai\": \"^3.5.0\",",""]},{"start":{"row":60,"column":5},"end":{"row":60,"column":20},"action":"remove","lines":["mocha\": \"^2.5.3"]},{"start":{"row":60,"column":5},"end":{"row":60,"column":22},"action":"insert","lines":["lodash\": \"^4.13.1"]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["5"],"id":211,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["6"]},{"start":{"row":15,"column":0},"end":{"row":20,"column":0},"action":"insert","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\","," \"test\": \"NODE_ENV=test mocha\","," \"test:watch\": \"npm test -- --watch\","," \"deploy:demo\": \"firebase deploy -f augur-ui\","," \"_____\": \"\",",""]},{"start":{"row":22,"column":0},"end":{"row":24,"column":0},"action":"remove","lines":[" \"start\": \"http-server ./demo -c-1 -p $PORT\","," \"test\": \"echo \\\"Error: no test specified\\\" && exit 1\",",""]},{"start":{"row":51,"column":0},"end":{"row":52,"column":0},"action":"insert","lines":[" \"babel-register\": \"^6.9.0\",",""]},{"start":{"row":54,"column":0},"end":{"row":55,"column":0},"action":"insert","lines":[" \"chai\": \"^3.5.0\",",""]},{"start":{"row":65,"column":5},"end":{"row":65,"column":22},"action":"remove","lines":["lodash\": \"^4.13.1"]},{"start":{"row":65,"column":5},"end":{"row":65,"column":20},"action":"insert","lines":["mocha\": \"^2.5.3"]}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"remove","lines":["6"],"id":212,"ignore":true},{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["7"]},{"start":{"row":23,"column":0},"end":{"row":24,"column":0},"action":"remove","lines":[" \"deploy:demo\": \"firebase deploy -f augur-ui\",",""]}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":2,"column":14},"end":{"row":2,"column":19},"isBackwards":true},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":0},"timestamp":1464697447179,"hash":"b98890588bcd220c919c623743de8d3a73dbd302"}

@@ -1,1 +0,1 @@

{"filter":false,"title":"selectors.js","tooltip":"/src/selectors.js","undoManager":{"mark":219,"position":219,"stack":[[{"start":{"row":26,"column":0},"end":{"row":31,"column":0},"action":"remove","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};","",""],"id":2,"ignore":true},{"start":{"row":53,"column":0},"end":{"row":54,"column":0},"action":"insert","lines":["selectors.keywordsChangeHandler = () => {};",""]},{"start":{"row":155,"column":0},"end":{"row":158,"column":0},"action":"remove","lines":["\t\tlet dayMillis = 24 * 60 * 60 * 1000;","\t\tlet nowMillis = new Date().getTime();","",""]},{"start":{"row":163,"column":0},"end":{"row":183,"column":0},"action":"remove","lines":["\t\t\t\tpriceTimeSeries: [{","\t\t\t\t\tname: \"outcome 1\",","\t\t\t\t\tdata: [","\t\t\t\t\t\t[nowMillis - 50 * dayMillis, 0.3],","\t\t\t\t\t\t[nowMillis - 40 * dayMillis, 0.1],","\t\t\t\t\t\t[nowMillis - 30 * dayMillis, 0.65],","\t\t\t\t\t\t[nowMillis - 20 * dayMillis, 0.93]","\t\t\t\t\t],","\t\t\t\t\tcolor: \"#f00\"","\t\t\t\t},","\t\t\t\t\t{","\t\t\t\t\t\tname: \"outcome 2\",","\t\t\t\t\t\tdata: [","\t\t\t\t\t\t\t[nowMillis - 55 * dayMillis, 0.8],","\t\t\t\t\t\t\t[nowMillis - 45 * dayMillis, 0.7],","\t\t\t\t\t\t\t[nowMillis - 35 * dayMillis, 0.6],","\t\t\t\t\t\t\t[nowMillis - 25 * dayMillis, 0.4]","\t\t\t\t\t\t],","\t\t\t\t\t\tcolor: \"#0f0\"","\t\t\t\t\t}],",""]}],[{"start":{"row":4,"column":17},"end":{"row":5,"column":0},"action":"insert","lines":["",""],"id":3},{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"remove","lines":["\t"],"id":4}],[{"start":{"row":5,"column":0},"end":{"row":6,"column":0},"action":"insert","lines":["",""],"id":5}],[{"start":{"row":0,"column":0},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":6}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":7}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["i"],"id":8}],[{"start":{"row":0,"column":1},"end":{"row":0,"column":2},"action":"insert","lines":["m"],"id":9}],[{"start":{"row":0,"column":2},"end":{"row":0,"column":3},"action":"insert","lines":["p"],"id":10}],[{"start":{"row":0,"column":3},"end":{"row":0,"column":4},"action":"insert","lines":["o"],"id":11}],[{"start":{"row":0,"column":4},"end":{"row":0,"column":5},"action":"insert","lines":["r"],"id":12}],[{"start":{"row":0,"column":5},"end":{"row":0,"column":6},"action":"insert","lines":["t"],"id":13}],[{"start":{"row":0,"column":6},"end":{"row":0,"column":7},"action":"insert","lines":[" "],"id":14}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"insert","lines":["{"],"id":15}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"insert","lines":[" "],"id":16}],[{"start":{"row":0,"column":9},"end":{"row":0,"column":10},"action":"insert","lines":["l"],"id":17}],[{"start":{"row":0,"column":10},"end":{"row":0,"column":11},"action":"insert","lines":["o"],"id":18}],[{"start":{"row":0,"column":11},"end":{"row":0,"column":12},"action":"insert","lines":["g"],"id":19}],[{"start":{"row":0,"column":12},"end":{"row":0,"column":13},"action":"insert","lines":["i"],"id":20}],[{"start":{"row":0,"column":13},"end":{"row":0,"column":14},"action":"insert","lines":["n"],"id":21}],[{"start":{"row":0,"column":14},"end":{"row":0,"column":15},"action":"insert","lines":["A"],"id":22}],[{"start":{"row":0,"column":15},"end":{"row":0,"column":16},"action":"insert","lines":["c"],"id":23}],[{"start":{"row":0,"column":16},"end":{"row":0,"column":17},"action":"insert","lines":["c"],"id":24}],[{"start":{"row":0,"column":17},"end":{"row":0,"column":18},"action":"insert","lines":["o"],"id":25}],[{"start":{"row":0,"column":18},"end":{"row":0,"column":19},"action":"insert","lines":["u"],"id":26}],[{"start":{"row":0,"column":19},"end":{"row":0,"column":20},"action":"insert","lines":["n"],"id":27}],[{"start":{"row":0,"column":20},"end":{"row":0,"column":21},"action":"insert","lines":["t"],"id":28}],[{"start":{"row":0,"column":21},"end":{"row":0,"column":22},"action":"insert","lines":[" "],"id":29}],[{"start":{"row":0,"column":22},"end":{"row":0,"column":23},"action":"insert","lines":["}"],"id":30}],[{"start":{"row":0,"column":23},"end":{"row":0,"column":24},"action":"insert","lines":[" "],"id":31}],[{"start":{"row":0,"column":24},"end":{"row":0,"column":25},"action":"insert","lines":["f"],"id":32}],[{"start":{"row":0,"column":25},"end":{"row":0,"column":26},"action":"insert","lines":["r"],"id":33}],[{"start":{"row":0,"column":26},"end":{"row":0,"column":27},"action":"insert","lines":["o"],"id":34}],[{"start":{"row":0,"column":27},"end":{"row":0,"column":28},"action":"insert","lines":["m"],"id":35}],[{"start":{"row":0,"column":28},"end":{"row":0,"column":29},"action":"insert","lines":[" "],"id":36}],[{"start":{"row":0,"column":29},"end":{"row":0,"column":62},"action":"insert","lines":["'./modules/site/constants/pages';"],"id":37}],[{"start":{"row":0,"column":32},"end":{"row":0,"column":39},"action":"remove","lines":["modules"],"id":38},{"start":{"row":0,"column":32},"end":{"row":0,"column":33},"action":"insert","lines":["s"]}],[{"start":{"row":0,"column":33},"end":{"row":0,"column":34},"action":"insert","lines":["e"],"id":39}],[{"start":{"row":0,"column":34},"end":{"row":0,"column":35},"action":"insert","lines":["l"],"id":40}],[{"start":{"row":0,"column":35},"end":{"row":0,"column":36},"action":"insert","lines":["e"],"id":41}],[{"start":{"row":0,"column":36},"end":{"row":0,"column":37},"action":"insert","lines":["c"],"id":42}],[{"start":{"row":0,"column":37},"end":{"row":0,"column":38},"action":"insert","lines":["t"],"id":43}],[{"start":{"row":0,"column":38},"end":{"row":0,"column":39},"action":"insert","lines":["o"],"id":44}],[{"start":{"row":0,"column":39},"end":{"row":0,"column":40},"action":"insert","lines":["r"],"id":45}],[{"start":{"row":0,"column":40},"end":{"row":0,"column":41},"action":"insert","lines":["s"],"id":46}],[{"start":{"row":0,"column":42},"end":{"row":0,"column":62},"action":"remove","lines":["site/constants/pages"],"id":47},{"start":{"row":0,"column":42},"end":{"row":0,"column":43},"action":"insert","lines":["l"]}],[{"start":{"row":0,"column":43},"end":{"row":0,"column":44},"action":"insert","lines":["o"],"id":48}],[{"start":{"row":0,"column":44},"end":{"row":0,"column":45},"action":"insert","lines":["g"],"id":49}],[{"start":{"row":0,"column":45},"end":{"row":0,"column":46},"action":"insert","lines":["i"],"id":50}],[{"start":{"row":0,"column":46},"end":{"row":0,"column":47},"action":"insert","lines":["n"],"id":51}],[{"start":{"row":0,"column":47},"end":{"row":0,"column":48},"action":"insert","lines":["-"],"id":52}],[{"start":{"row":0,"column":48},"end":{"row":0,"column":49},"action":"insert","lines":["a"],"id":53}],[{"start":{"row":0,"column":49},"end":{"row":0,"column":50},"action":"insert","lines":["c"],"id":54}],[{"start":{"row":0,"column":50},"end":{"row":0,"column":51},"action":"insert","lines":["c"],"id":55}],[{"start":{"row":0,"column":51},"end":{"row":0,"column":52},"action":"insert","lines":["o"],"id":56}],[{"start":{"row":0,"column":52},"end":{"row":0,"column":53},"action":"insert","lines":["u"],"id":57}],[{"start":{"row":0,"column":53},"end":{"row":0,"column":54},"action":"insert","lines":["n"],"id":58}],[{"start":{"row":0,"column":54},"end":{"row":0,"column":55},"action":"insert","lines":["t"],"id":59}],[{"start":{"row":135,"column":0},"end":{"row":145,"column":1},"action":"remove","lines":["function emptyNumber(denomination) {","\treturn {","\t\tvalue: 0,","\t\tformattedValue: 0,","\t\tformatted: '-',","\t\trounded: '-',","\t\tminimized: '-',","\t\tfull: '-',","\t\tdenomination: denomination || ''","\t};","}"],"id":60}],[{"start":{"row":134,"column":0},"end":{"row":135,"column":0},"action":"remove","lines":["",""],"id":61}],[{"start":{"row":133,"column":1},"end":{"row":134,"column":0},"action":"remove","lines":["",""],"id":62}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":1},"action":"insert","lines":["\t"],"id":63}],[{"start":{"row":7,"column":1},"end":{"row":7,"column":13},"action":"insert","lines":["loginAccount"],"id":64}],[{"start":{"row":7,"column":13},"end":{"row":7,"column":14},"action":"insert","lines":[":"],"id":65}],[{"start":{"row":7,"column":14},"end":{"row":7,"column":15},"action":"insert","lines":[" "],"id":66}],[{"start":{"row":7,"column":14},"end":{"row":7,"column":15},"action":"remove","lines":[" "],"id":67}],[{"start":{"row":7,"column":13},"end":{"row":7,"column":14},"action":"remove","lines":[":"],"id":68}],[{"start":{"row":12,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":["selectors.loginAccount = {","\tid: '123',","\thandle: 'Johnny',","\trep: emptyNumber('rep'),","\tether: emptyNumber('eth'),","\trealEther: emptyNumber('eth')","};",""],"id":69}],[{"start":{"row":12,"column":0},"end":{"row":13,"column":0},"action":"remove","lines":["",""],"id":70}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":1},"action":"insert","lines":["c"],"id":71}],[{"start":{"row":9,"column":1},"end":{"row":9,"column":2},"action":"insert","lines":["o"],"id":72}],[{"start":{"row":9,"column":2},"end":{"row":9,"column":3},"action":"insert","lines":["n"],"id":73}],[{"start":{"row":9,"column":3},"end":{"row":9,"column":4},"action":"insert","lines":["s"],"id":74}],[{"start":{"row":9,"column":4},"end":{"row":9,"column":5},"action":"insert","lines":["o"],"id":75}],[{"start":{"row":9,"column":5},"end":{"row":9,"column":6},"action":"insert","lines":["l"],"id":76}],[{"start":{"row":9,"column":6},"end":{"row":9,"column":7},"action":"insert","lines":["e"],"id":77}],[{"start":{"row":9,"column":7},"end":{"row":9,"column":8},"action":"insert","lines":["."],"id":78}],[{"start":{"row":9,"column":8},"end":{"row":9,"column":9},"action":"insert","lines":["l"],"id":79}],[{"start":{"row":9,"column":9},"end":{"row":9,"column":10},"action":"insert","lines":["o"],"id":80}],[{"start":{"row":9,"column":10},"end":{"row":9,"column":11},"action":"insert","lines":["g"],"id":81}],[{"start":{"row":9,"column":11},"end":{"row":9,"column":12},"action":"insert","lines":["("],"id":82}],[{"start":{"row":9,"column":12},"end":{"row":9,"column":13},"action":"insert","lines":["'"],"id":83}],[{"start":{"row":9,"column":13},"end":{"row":9,"column":14},"action":"insert","lines":["*"],"id":84}],[{"start":{"row":9,"column":14},"end":{"row":9,"column":15},"action":"insert","lines":["*"],"id":85}],[{"start":{"row":9,"column":15},"end":{"row":9,"column":16},"action":"insert","lines":["*"],"id":86}],[{"start":{"row":9,"column":16},"end":{"row":9,"column":17},"action":"insert","lines":["'"],"id":87}],[{"start":{"row":9,"column":17},"end":{"row":9,"column":18},"action":"insert","lines":[","],"id":88}],[{"start":{"row":9,"column":18},"end":{"row":9,"column":19},"action":"insert","lines":[" "],"id":89}],[{"start":{"row":9,"column":19},"end":{"row":9,"column":28},"action":"insert","lines":["selectors"],"id":90}],[{"start":{"row":9,"column":28},"end":{"row":9,"column":29},"action":"insert","lines":[")"],"id":91}],[{"start":{"row":9,"column":29},"end":{"row":9,"column":30},"action":"insert","lines":[";"],"id":92}],[{"start":{"row":0,"column":22},"end":{"row":0,"column":23},"action":"remove","lines":["}"],"id":93}],[{"start":{"row":0,"column":21},"end":{"row":0,"column":22},"action":"remove","lines":[" "],"id":94}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"remove","lines":[" "],"id":95}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"remove","lines":["{"],"id":96}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":30},"action":"remove","lines":["console.log('***', selectors);"],"id":97}],[{"start":{"row":37,"column":0},"end":{"row":37,"column":34},"action":"remove","lines":["selectors.markets = makeMarkets();"],"id":99}],[{"start":{"row":127,"column":0},"end":{"row":290,"column":1},"action":"remove","lines":["function makeMarkets(numMarkets = 20) {","\tvar markets = [],","\t\ttypes = ['binary', 'categorical', 'scalar'],","\t\ti;","","\tfor (i = 0; i < numMarkets; i++) {","\t\tmarkets.push(makeDummyMarket(i));","\t}","","\treturn markets;","","\tfunction makeDummyMarket(index) {","\t\tvar id = index.toString(),","\t\t\tm = {","\t\t\t\tid: id,","\t\t\t\ttype: types[randomInt(0, types.length - 1)],","\t\t\t\tdescription: 'Will the dwerps achieve a mwerp by the end of zwerp ' + (index + 1) + '?',","\t\t\t\tendDate: { formatted: '12/12/2017' },","\t\t\t\ttradingFeePercent: makeNumber(randomInt(1, 10), '%', true),","\t\t\t\tvolume: makeNumber(randomInt(0, 10000), 'Shares', true),","\t\t\t\tisOpen: Math.random() > 0.1,","\t\t\t\tisPendingReport: Math.random() < 0.5,","\t\t\t\tmarketLink: { text: 'Trade', className: 'trade', onClick: () => module.exports.update({ activePage: M, market: m }) },","\t\t\t};","","\t\tm.outcomes = [","\t\t\t{","\t\t\t\tid: '1',","\t\t\t\tname: 'YES',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(50, 100), '%'),","\t\t\t\tposition: {","\t\t\t\t\tqtyShares: makeNumber(16898, 'Shares'),","\t\t\t\t\ttotalValue: makeNumber(14877, 'eth'),","\t\t\t\t\tgainPercent: makeNumber(14, '%'),","\t\t\t\t\tpurchasePrice: makeNumber(0.77, 'eth'),","\t\t\t\t\tshareChange: makeNumber(0.107, 'eth'),","\t\t\t\t\ttotalCost: makeNumber(12555, 'eth'),","\t\t\t\t\tnetChange: makeNumber(3344, 'eth')","\t\t\t\t},","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[0].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[0].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[0].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tconsole.log(m.outcomes[0].trade);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t},","\t\t\t{","\t\t\t\tid: '2',","\t\t\t\tname: 'NO',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(20, 50), '%'),","\t\t\t\tposition: {","\t\t\t\t\tqtyShares: makeNumber(455, 'Shares'),","\t\t\t\t\ttotalValue: makeNumber(776, 'eth'),","\t\t\t\t\tgainPercent: makeNumber(-6, '%'),","\t\t\t\t\tpurchasePrice: makeNumber(0.6, 'eth'),","\t\t\t\t\tshareChange: makeNumber(0.5, 'eth'),","\t\t\t\t\ttotalCost: makeNumber(980, 'eth'),","\t\t\t\t\tnetChange: makeNumber(230, 'eth')","\t\t\t\t},","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[1].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[1].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[1].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t},","\t\t\t{","\t\t\t\tid: '3',","\t\t\t\tname: 'MAYBE',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(0, 30), '%'),","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[2].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[2].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[2].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t}","\t\t];","","\t\tm.reportableOutcomes = m.outcomes.slice();","\t\tm.reportableOutcomes.push({ id: '1.5', name: 'indeterminate' });","","\t\t// trade summary","\t\tObject.defineProperty(m, 'tradeSummary', {","\t\t\tget: () => {","\t\t\t\tvar tots = m.outcomes.reduce((p, outcome) => {","\t\t\t\t\t\tvar numShares,","\t\t\t\t\t\t\tlimitPrice,","\t\t\t\t\t\t\tcost;","","\t\t\t\t\t\tif (!outcome.trade || !outcome.trade.numShares) {","\t\t\t\t\t\t\treturn p;","\t\t\t\t\t\t}","","\t\t\t\t\t\tnumShares = outcome.trade.numShares;","\t\t\t\t\t\tlimitPrice = outcome.trade.limitPrice || 0;","\t\t\t\t\t\tcost = numShares * limitPrice;","","\t\t\t\t\t\tp.tradeOrders.push({ type: BUY_SHARES, shares: makeNumber(numShares), ether: makeNumber(cost), data: { outcomeName: 'MAYBE', marketDescription: m.description } });","\t\t\t\t\t\tp.totalShares += numShares;","\t\t\t\t\t\tp.totalEther += cost;","\t\t\t\t\t\treturn p;","\t\t\t\t\t}, { totalShares: 0, totalEther: 0, totalFees: 0, totalGas: 0, tradeOrders: [] });","","\t\t\t\ttots.totalShares = makeNumber(tots.totalShares);","\t\t\t\ttots.totalEther = makeNumber(tots.totalEther);","\t\t\t\ttots.totalFees = makeNumber(tots.totalFees);","\t\t\t\ttots.totalGas = makeNumber(tots.totalGas);","\t\t\t\ttots.onSubmitPlaceTrade = () => {};","","\t\t\t\treturn tots;","\t\t\t},","\t\t\tenumerable: true","\t\t});","","\t\t// positions summary","\t\tm.positionsSummary = {","\t\t\tnumPositions: makeNumber(3, 'Positions', true),","\t\t\ttotalValue: makeNumber(985, 'eth'),","\t\t\tgainPercent: makeNumber(15, '%')","\t\t};","","\t\t// report","\t\tm.report = {","\t\t\tisUnethical: true,","\t\t\tonSubmitReport: (reportedOutcomeID, isUnethical) => {}","\t\t};","","\t\treturn m;","\t}","}","","","function randomInt(min, max) {","\treturn Math.floor(Math.random() * (max - min + 1)) + min;","}"],"id":101}],[{"start":{"row":100,"column":0},"end":{"row":126,"column":0},"action":"remove","lines":["function makeNumber(num, denomination, omitSign) {","\tvar o = {","\t\tvalue: num,","","\t\tformattedValue: num,","\t\tformatted: num.toString(),","","\t\troundedValue: num,","\t\trounded: num.toString(),","","\t\tminimized: num.toString(),","\t\tdenomination: denomination || ''","\t};","","\tif (!omitSign) {"," if (o.value > 0) {"," o.formatted = '+' + o.formatted;"," o.rounded = '+' + o.rounded;"," o.minimized = '+' + o.minimized;"," }","\t}","","\to.full = o.formatted + o.denomination;","","\treturn o;","}",""],"id":102}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":103}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":1},"action":"insert","lines":["i"],"id":104}],[{"start":{"row":2,"column":1},"end":{"row":2,"column":2},"action":"insert","lines":["m"],"id":105}],[{"start":{"row":2,"column":2},"end":{"row":2,"column":3},"action":"insert","lines":["p"],"id":106}],[{"start":{"row":2,"column":3},"end":{"row":2,"column":4},"action":"insert","lines":["o"],"id":107}],[{"start":{"row":2,"column":4},"end":{"row":2,"column":5},"action":"insert","lines":["r"],"id":108}],[{"start":{"row":2,"column":5},"end":{"row":2,"column":6},"action":"insert","lines":["t"],"id":109}],[{"start":{"row":2,"column":6},"end":{"row":2,"column":7},"action":"insert","lines":[" "],"id":110}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":17},"action":"insert","lines":["makeNumber"],"id":111}],[{"start":{"row":2,"column":17},"end":{"row":2,"column":18},"action":"insert","lines":[" "],"id":112}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["f"],"id":113}],[{"start":{"row":2,"column":19},"end":{"row":2,"column":20},"action":"insert","lines":["r"],"id":114}],[{"start":{"row":2,"column":20},"end":{"row":2,"column":21},"action":"insert","lines":["o"],"id":115}],[{"start":{"row":2,"column":21},"end":{"row":2,"column":22},"action":"insert","lines":["m"],"id":116}],[{"start":{"row":2,"column":22},"end":{"row":2,"column":23},"action":"insert","lines":[" "],"id":117}],[{"start":{"row":2,"column":23},"end":{"row":2,"column":24},"action":"insert","lines":["'"],"id":118}],[{"start":{"row":2,"column":24},"end":{"row":2,"column":25},"action":"insert","lines":["'"],"id":119}],[{"start":{"row":2,"column":25},"end":{"row":2,"column":26},"action":"insert","lines":[";"],"id":120}],[{"start":{"row":2,"column":26},"end":{"row":3,"column":0},"action":"insert","lines":["",""],"id":121}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":26},"action":"remove","lines":["import makeNumber from '';"],"id":122},{"start":{"row":2,"column":0},"end":{"row":2,"column":52},"action":"insert","lines":["import { emptyNumber } from '../utils/empty-number';"]}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":20},"action":"remove","lines":["emptyNumber"],"id":123},{"start":{"row":2,"column":9},"end":{"row":2,"column":19},"action":"insert","lines":["makeNumber"]}],[{"start":{"row":2,"column":37},"end":{"row":2,"column":42},"action":"remove","lines":["empty"],"id":124},{"start":{"row":2,"column":37},"end":{"row":2,"column":38},"action":"insert","lines":["m"]}],[{"start":{"row":2,"column":38},"end":{"row":2,"column":39},"action":"insert","lines":["a"],"id":125}],[{"start":{"row":2,"column":39},"end":{"row":2,"column":40},"action":"insert","lines":["k"],"id":126}],[{"start":{"row":2,"column":40},"end":{"row":2,"column":41},"action":"insert","lines":["e"],"id":127}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":53},"action":"remove","lines":["import loginAccount from './selectors/login-account';"],"id":128},{"start":{"row":0,"column":0},"end":{"row":0,"column":53},"action":"insert","lines":["import loginAccount from './selectors/login-account';"]}],[{"start":{"row":0,"column":53},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":129}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":53},"action":"insert","lines":["import loginAccount from './selectors/login-account';"],"id":130}],[{"start":{"row":1,"column":7},"end":{"row":1,"column":19},"action":"remove","lines":["loginAccount"],"id":131},{"start":{"row":1,"column":7},"end":{"row":1,"column":8},"action":"insert","lines":["m"]}],[{"start":{"row":1,"column":8},"end":{"row":1,"column":9},"action":"insert","lines":["a"],"id":132}],[{"start":{"row":1,"column":9},"end":{"row":1,"column":10},"action":"insert","lines":["r"],"id":133}],[{"start":{"row":1,"column":10},"end":{"row":1,"column":11},"action":"insert","lines":["k"],"id":134}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["e"],"id":135}],[{"start":{"row":1,"column":12},"end":{"row":1,"column":13},"action":"insert","lines":["t"],"id":136}],[{"start":{"row":1,"column":13},"end":{"row":1,"column":14},"action":"insert","lines":["s"],"id":137}],[{"start":{"row":1,"column":33},"end":{"row":1,"column":46},"action":"remove","lines":["login-account"],"id":138},{"start":{"row":1,"column":33},"end":{"row":1,"column":40},"action":"insert","lines":["markets"]}],[{"start":{"row":10,"column":13},"end":{"row":10,"column":14},"action":"insert","lines":[","],"id":139}],[{"start":{"row":10,"column":14},"end":{"row":11,"column":0},"action":"insert","lines":["",""],"id":140},{"start":{"row":11,"column":0},"end":{"row":11,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":8},"action":"insert","lines":["markets"],"id":141}],[{"start":{"row":96,"column":0},"end":{"row":100,"column":2},"action":"remove","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":142}],[{"start":{"row":96,"column":0},"end":{"row":97,"column":0},"action":"remove","lines":["",""],"id":143}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":144}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":145}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":146}],[{"start":{"row":8,"column":0},"end":{"row":9,"column":0},"action":"insert","lines":["",""],"id":147}],[{"start":{"row":9,"column":0},"end":{"row":13,"column":2},"action":"insert","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":148}],[{"start":{"row":13,"column":2},"end":{"row":14,"column":0},"action":"insert","lines":["",""],"id":149}],[{"start":{"row":15,"column":17},"end":{"row":16,"column":0},"action":"insert","lines":["",""],"id":150},{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":16,"column":0},"end":{"row":20,"column":1},"action":"insert","lines":["update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","}"],"id":151}],[{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"],"id":152},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":18,"column":0},"end":{"row":18,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":19,"column":0},"end":{"row":19,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":20,"column":0},"end":{"row":20,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":3},"action":"remove","lines":["\t"],"id":153}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":3},"action":"insert","lines":[","],"id":154}],[{"start":{"row":16,"column":7},"end":{"row":16,"column":8},"action":"insert","lines":[":"],"id":155}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"remove","lines":[" "],"id":156}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"remove","lines":["="],"id":157}],[{"start":{"row":16,"column":9},"end":{"row":16,"column":17},"action":"remove","lines":["function"],"id":158}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":["="],"id":159}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":[">"],"id":160}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":[" "],"id":161}],[{"start":{"row":16,"column":18},"end":{"row":16,"column":19},"action":"insert","lines":[" "],"id":162}],[{"start":{"row":16,"column":19},"end":{"row":16,"column":20},"action":"insert","lines":["="],"id":163}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":[" "],"id":164}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":["{"],"id":165}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":["}"],"id":166}],[{"start":{"row":3,"column":28},"end":{"row":3,"column":29},"action":"remove","lines":["."],"id":167}],[{"start":{"row":9,"column":0},"end":{"row":13,"column":2},"action":"remove","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":168}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["",""],"id":169}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["",""],"id":170}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":135},"action":"remove","lines":["import { CREATE_MARKET, BUY_SHARES, SELL_SHARES, BID_SHARES, ASK_SHARES, SUBMIT_REPORT } from './modules/transactions/constants/types';"],"id":171}],[{"start":{"row":7,"column":0},"end":{"row":8,"column":0},"action":"remove","lines":["",""],"id":172}],[{"start":{"row":57,"column":18},"end":{"row":57,"column":19},"action":"insert","lines":[" "],"id":173}],[{"start":{"row":57,"column":19},"end":{"row":57,"column":20},"action":"insert","lines":["="],"id":174}],[{"start":{"row":57,"column":20},"end":{"row":57,"column":21},"action":"insert","lines":[" "],"id":175}],[{"start":{"row":57,"column":21},"end":{"row":57,"column":22},"action":"insert","lines":["{"],"id":176}],[{"start":{"row":57,"column":22},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":177},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":58,"column":26},"end":{"row":59,"column":0},"action":"insert","lines":["",""],"id":178},{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":59,"column":1},"end":{"row":59,"column":2},"action":"insert","lines":["}"],"id":179}],[{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"remove","lines":["\t"],"id":180}],[{"start":{"row":57,"column":22},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":181},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":58,"column":1},"end":{"row":58,"column":2},"action":"insert","lines":["v"],"id":182}],[{"start":{"row":58,"column":2},"end":{"row":58,"column":3},"action":"insert","lines":["a"],"id":183}],[{"start":{"row":58,"column":3},"end":{"row":58,"column":4},"action":"insert","lines":["l"],"id":184}],[{"start":{"row":58,"column":4},"end":{"row":58,"column":5},"action":"insert","lines":["u"],"id":185}],[{"start":{"row":58,"column":5},"end":{"row":58,"column":6},"action":"insert","lines":["e"],"id":186}],[{"start":{"row":58,"column":6},"end":{"row":58,"column":7},"action":"insert","lines":[":"],"id":187}],[{"start":{"row":58,"column":7},"end":{"row":58,"column":8},"action":"insert","lines":[" "],"id":188}],[{"start":{"row":58,"column":8},"end":{"row":58,"column":9},"action":"insert","lines":["'"],"id":189}],[{"start":{"row":58,"column":9},"end":{"row":58,"column":10},"action":"insert","lines":["'"],"id":190}],[{"start":{"row":58,"column":10},"end":{"row":58,"column":11},"action":"insert","lines":[","],"id":191}],[{"start":{"row":59,"column":1},"end":{"row":59,"column":14},"action":"remove","lines":["ChangeHandler"],"id":192},{"start":{"row":59,"column":1},"end":{"row":59,"column":17},"action":"insert","lines":["onChangeKeywords"]}],[{"start":{"row":59,"column":20},"end":{"row":59,"column":21},"action":"remove","lines":[" "],"id":193}],[{"start":{"row":59,"column":19},"end":{"row":59,"column":20},"action":"remove","lines":[" "],"id":194}],[{"start":{"row":59,"column":18},"end":{"row":59,"column":19},"action":"remove","lines":["="],"id":195}],[{"start":{"row":59,"column":17},"end":{"row":59,"column":18},"action":"remove","lines":[" "],"id":196}],[{"start":{"row":59,"column":17},"end":{"row":59,"column":18},"action":"insert","lines":[":"],"id":197}],[{"start":{"row":59,"column":18},"end":{"row":59,"column":19},"action":"insert","lines":[" "],"id":198}],[{"start":{"row":30,"column":0},"end":{"row":35,"column":0},"action":"insert","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};","",""],"id":199,"ignore":true}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":42},"action":"remove","lines":["import markets from './selectors/markets';"],"id":200},{"start":{"row":1,"column":0},"end":{"row":1,"column":42},"action":"insert","lines":["import markets from './selectors/markets';"]}],[{"start":{"row":1,"column":42},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":201}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":42},"action":"insert","lines":["import markets from './selectors/markets';"],"id":202}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":14},"action":"remove","lines":["markets"],"id":203},{"start":{"row":2,"column":7},"end":{"row":2,"column":8},"action":"insert","lines":["t"]}],[{"start":{"row":2,"column":8},"end":{"row":2,"column":9},"action":"insert","lines":["a"],"id":204}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":10},"action":"insert","lines":["g"],"id":205}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"insert","lines":["s"],"id":206}],[{"start":{"row":2,"column":30},"end":{"row":2,"column":37},"action":"remove","lines":["markets"],"id":207},{"start":{"row":2,"column":30},"end":{"row":2,"column":31},"action":"insert","lines":["t"]}],[{"start":{"row":2,"column":31},"end":{"row":2,"column":32},"action":"insert","lines":["a"],"id":208}],[{"start":{"row":2,"column":32},"end":{"row":2,"column":33},"action":"insert","lines":["g"],"id":209}],[{"start":{"row":2,"column":33},"end":{"row":2,"column":34},"action":"insert","lines":["s"],"id":210}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"insert","lines":[","],"id":211}],[{"start":{"row":16,"column":9},"end":{"row":17,"column":0},"action":"insert","lines":["",""],"id":212},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":17,"column":1},"end":{"row":17,"column":5},"action":"insert","lines":["tags"],"id":213}],[{"start":{"row":63,"column":0},"end":{"row":64,"column":0},"action":"remove","lines":["selectors.filtersProps = {};",""],"id":214}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":11},"action":"remove","lines":["tags"],"id":215},{"start":{"row":2,"column":7},"end":{"row":2,"column":8},"action":"insert","lines":["f"]}],[{"start":{"row":2,"column":8},"end":{"row":2,"column":9},"action":"insert","lines":["i"],"id":216}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":10},"action":"insert","lines":["l"],"id":217}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"insert","lines":["t"],"id":218}],[{"start":{"row":2,"column":11},"end":{"row":2,"column":12},"action":"insert","lines":["e"],"id":219}],[{"start":{"row":2,"column":12},"end":{"row":2,"column":13},"action":"insert","lines":["r"],"id":220}],[{"start":{"row":2,"column":13},"end":{"row":2,"column":14},"action":"insert","lines":["s"],"id":221}],[{"start":{"row":2,"column":33},"end":{"row":2,"column":37},"action":"remove","lines":["tags"],"id":222},{"start":{"row":2,"column":33},"end":{"row":2,"column":40},"action":"insert","lines":["filters"]}],[{"start":{"row":17,"column":1},"end":{"row":17,"column":5},"action":"remove","lines":["tags"],"id":223},{"start":{"row":17,"column":1},"end":{"row":17,"column":8},"action":"insert","lines":["filters"]}]]},"ace":{"folds":[],"scrolltop":120,"scrollleft":0,"selection":{"start":{"row":41,"column":24},"end":{"row":41,"column":24},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":8,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1463436393000,"hash":"3bf2ccabf027fde7c1dab74abcf37cb0f7e0b694"}
{"filter":false,"title":"selectors.js","tooltip":"/src/selectors.js","undoManager":{"mark":221,"position":221,"stack":[[{"start":{"row":26,"column":0},"end":{"row":31,"column":0},"action":"remove","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};","",""],"id":2,"ignore":true},{"start":{"row":53,"column":0},"end":{"row":54,"column":0},"action":"insert","lines":["selectors.keywordsChangeHandler = () => {};",""]},{"start":{"row":155,"column":0},"end":{"row":158,"column":0},"action":"remove","lines":["\t\tlet dayMillis = 24 * 60 * 60 * 1000;","\t\tlet nowMillis = new Date().getTime();","",""]},{"start":{"row":163,"column":0},"end":{"row":183,"column":0},"action":"remove","lines":["\t\t\t\tpriceTimeSeries: [{","\t\t\t\t\tname: \"outcome 1\",","\t\t\t\t\tdata: [","\t\t\t\t\t\t[nowMillis - 50 * dayMillis, 0.3],","\t\t\t\t\t\t[nowMillis - 40 * dayMillis, 0.1],","\t\t\t\t\t\t[nowMillis - 30 * dayMillis, 0.65],","\t\t\t\t\t\t[nowMillis - 20 * dayMillis, 0.93]","\t\t\t\t\t],","\t\t\t\t\tcolor: \"#f00\"","\t\t\t\t},","\t\t\t\t\t{","\t\t\t\t\t\tname: \"outcome 2\",","\t\t\t\t\t\tdata: [","\t\t\t\t\t\t\t[nowMillis - 55 * dayMillis, 0.8],","\t\t\t\t\t\t\t[nowMillis - 45 * dayMillis, 0.7],","\t\t\t\t\t\t\t[nowMillis - 35 * dayMillis, 0.6],","\t\t\t\t\t\t\t[nowMillis - 25 * dayMillis, 0.4]","\t\t\t\t\t\t],","\t\t\t\t\t\tcolor: \"#0f0\"","\t\t\t\t\t}],",""]}],[{"start":{"row":4,"column":17},"end":{"row":5,"column":0},"action":"insert","lines":["",""],"id":3},{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":5,"column":0},"end":{"row":5,"column":1},"action":"remove","lines":["\t"],"id":4}],[{"start":{"row":5,"column":0},"end":{"row":6,"column":0},"action":"insert","lines":["",""],"id":5}],[{"start":{"row":0,"column":0},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":6}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":7}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":1},"action":"insert","lines":["i"],"id":8}],[{"start":{"row":0,"column":1},"end":{"row":0,"column":2},"action":"insert","lines":["m"],"id":9}],[{"start":{"row":0,"column":2},"end":{"row":0,"column":3},"action":"insert","lines":["p"],"id":10}],[{"start":{"row":0,"column":3},"end":{"row":0,"column":4},"action":"insert","lines":["o"],"id":11}],[{"start":{"row":0,"column":4},"end":{"row":0,"column":5},"action":"insert","lines":["r"],"id":12}],[{"start":{"row":0,"column":5},"end":{"row":0,"column":6},"action":"insert","lines":["t"],"id":13}],[{"start":{"row":0,"column":6},"end":{"row":0,"column":7},"action":"insert","lines":[" "],"id":14}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"insert","lines":["{"],"id":15}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"insert","lines":[" "],"id":16}],[{"start":{"row":0,"column":9},"end":{"row":0,"column":10},"action":"insert","lines":["l"],"id":17}],[{"start":{"row":0,"column":10},"end":{"row":0,"column":11},"action":"insert","lines":["o"],"id":18}],[{"start":{"row":0,"column":11},"end":{"row":0,"column":12},"action":"insert","lines":["g"],"id":19}],[{"start":{"row":0,"column":12},"end":{"row":0,"column":13},"action":"insert","lines":["i"],"id":20}],[{"start":{"row":0,"column":13},"end":{"row":0,"column":14},"action":"insert","lines":["n"],"id":21}],[{"start":{"row":0,"column":14},"end":{"row":0,"column":15},"action":"insert","lines":["A"],"id":22}],[{"start":{"row":0,"column":15},"end":{"row":0,"column":16},"action":"insert","lines":["c"],"id":23}],[{"start":{"row":0,"column":16},"end":{"row":0,"column":17},"action":"insert","lines":["c"],"id":24}],[{"start":{"row":0,"column":17},"end":{"row":0,"column":18},"action":"insert","lines":["o"],"id":25}],[{"start":{"row":0,"column":18},"end":{"row":0,"column":19},"action":"insert","lines":["u"],"id":26}],[{"start":{"row":0,"column":19},"end":{"row":0,"column":20},"action":"insert","lines":["n"],"id":27}],[{"start":{"row":0,"column":20},"end":{"row":0,"column":21},"action":"insert","lines":["t"],"id":28}],[{"start":{"row":0,"column":21},"end":{"row":0,"column":22},"action":"insert","lines":[" "],"id":29}],[{"start":{"row":0,"column":22},"end":{"row":0,"column":23},"action":"insert","lines":["}"],"id":30}],[{"start":{"row":0,"column":23},"end":{"row":0,"column":24},"action":"insert","lines":[" "],"id":31}],[{"start":{"row":0,"column":24},"end":{"row":0,"column":25},"action":"insert","lines":["f"],"id":32}],[{"start":{"row":0,"column":25},"end":{"row":0,"column":26},"action":"insert","lines":["r"],"id":33}],[{"start":{"row":0,"column":26},"end":{"row":0,"column":27},"action":"insert","lines":["o"],"id":34}],[{"start":{"row":0,"column":27},"end":{"row":0,"column":28},"action":"insert","lines":["m"],"id":35}],[{"start":{"row":0,"column":28},"end":{"row":0,"column":29},"action":"insert","lines":[" "],"id":36}],[{"start":{"row":0,"column":29},"end":{"row":0,"column":62},"action":"insert","lines":["'./modules/site/constants/pages';"],"id":37}],[{"start":{"row":0,"column":32},"end":{"row":0,"column":39},"action":"remove","lines":["modules"],"id":38},{"start":{"row":0,"column":32},"end":{"row":0,"column":33},"action":"insert","lines":["s"]}],[{"start":{"row":0,"column":33},"end":{"row":0,"column":34},"action":"insert","lines":["e"],"id":39}],[{"start":{"row":0,"column":34},"end":{"row":0,"column":35},"action":"insert","lines":["l"],"id":40}],[{"start":{"row":0,"column":35},"end":{"row":0,"column":36},"action":"insert","lines":["e"],"id":41}],[{"start":{"row":0,"column":36},"end":{"row":0,"column":37},"action":"insert","lines":["c"],"id":42}],[{"start":{"row":0,"column":37},"end":{"row":0,"column":38},"action":"insert","lines":["t"],"id":43}],[{"start":{"row":0,"column":38},"end":{"row":0,"column":39},"action":"insert","lines":["o"],"id":44}],[{"start":{"row":0,"column":39},"end":{"row":0,"column":40},"action":"insert","lines":["r"],"id":45}],[{"start":{"row":0,"column":40},"end":{"row":0,"column":41},"action":"insert","lines":["s"],"id":46}],[{"start":{"row":0,"column":42},"end":{"row":0,"column":62},"action":"remove","lines":["site/constants/pages"],"id":47},{"start":{"row":0,"column":42},"end":{"row":0,"column":43},"action":"insert","lines":["l"]}],[{"start":{"row":0,"column":43},"end":{"row":0,"column":44},"action":"insert","lines":["o"],"id":48}],[{"start":{"row":0,"column":44},"end":{"row":0,"column":45},"action":"insert","lines":["g"],"id":49}],[{"start":{"row":0,"column":45},"end":{"row":0,"column":46},"action":"insert","lines":["i"],"id":50}],[{"start":{"row":0,"column":46},"end":{"row":0,"column":47},"action":"insert","lines":["n"],"id":51}],[{"start":{"row":0,"column":47},"end":{"row":0,"column":48},"action":"insert","lines":["-"],"id":52}],[{"start":{"row":0,"column":48},"end":{"row":0,"column":49},"action":"insert","lines":["a"],"id":53}],[{"start":{"row":0,"column":49},"end":{"row":0,"column":50},"action":"insert","lines":["c"],"id":54}],[{"start":{"row":0,"column":50},"end":{"row":0,"column":51},"action":"insert","lines":["c"],"id":55}],[{"start":{"row":0,"column":51},"end":{"row":0,"column":52},"action":"insert","lines":["o"],"id":56}],[{"start":{"row":0,"column":52},"end":{"row":0,"column":53},"action":"insert","lines":["u"],"id":57}],[{"start":{"row":0,"column":53},"end":{"row":0,"column":54},"action":"insert","lines":["n"],"id":58}],[{"start":{"row":0,"column":54},"end":{"row":0,"column":55},"action":"insert","lines":["t"],"id":59}],[{"start":{"row":135,"column":0},"end":{"row":145,"column":1},"action":"remove","lines":["function emptyNumber(denomination) {","\treturn {","\t\tvalue: 0,","\t\tformattedValue: 0,","\t\tformatted: '-',","\t\trounded: '-',","\t\tminimized: '-',","\t\tfull: '-',","\t\tdenomination: denomination || ''","\t};","}"],"id":60}],[{"start":{"row":134,"column":0},"end":{"row":135,"column":0},"action":"remove","lines":["",""],"id":61}],[{"start":{"row":133,"column":1},"end":{"row":134,"column":0},"action":"remove","lines":["",""],"id":62}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":1},"action":"insert","lines":["\t"],"id":63}],[{"start":{"row":7,"column":1},"end":{"row":7,"column":13},"action":"insert","lines":["loginAccount"],"id":64}],[{"start":{"row":7,"column":13},"end":{"row":7,"column":14},"action":"insert","lines":[":"],"id":65}],[{"start":{"row":7,"column":14},"end":{"row":7,"column":15},"action":"insert","lines":[" "],"id":66}],[{"start":{"row":7,"column":14},"end":{"row":7,"column":15},"action":"remove","lines":[" "],"id":67}],[{"start":{"row":7,"column":13},"end":{"row":7,"column":14},"action":"remove","lines":[":"],"id":68}],[{"start":{"row":12,"column":0},"end":{"row":19,"column":0},"action":"remove","lines":["selectors.loginAccount = {","\tid: '123',","\thandle: 'Johnny',","\trep: emptyNumber('rep'),","\tether: emptyNumber('eth'),","\trealEther: emptyNumber('eth')","};",""],"id":69}],[{"start":{"row":12,"column":0},"end":{"row":13,"column":0},"action":"remove","lines":["",""],"id":70}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":1},"action":"insert","lines":["c"],"id":71}],[{"start":{"row":9,"column":1},"end":{"row":9,"column":2},"action":"insert","lines":["o"],"id":72}],[{"start":{"row":9,"column":2},"end":{"row":9,"column":3},"action":"insert","lines":["n"],"id":73}],[{"start":{"row":9,"column":3},"end":{"row":9,"column":4},"action":"insert","lines":["s"],"id":74}],[{"start":{"row":9,"column":4},"end":{"row":9,"column":5},"action":"insert","lines":["o"],"id":75}],[{"start":{"row":9,"column":5},"end":{"row":9,"column":6},"action":"insert","lines":["l"],"id":76}],[{"start":{"row":9,"column":6},"end":{"row":9,"column":7},"action":"insert","lines":["e"],"id":77}],[{"start":{"row":9,"column":7},"end":{"row":9,"column":8},"action":"insert","lines":["."],"id":78}],[{"start":{"row":9,"column":8},"end":{"row":9,"column":9},"action":"insert","lines":["l"],"id":79}],[{"start":{"row":9,"column":9},"end":{"row":9,"column":10},"action":"insert","lines":["o"],"id":80}],[{"start":{"row":9,"column":10},"end":{"row":9,"column":11},"action":"insert","lines":["g"],"id":81}],[{"start":{"row":9,"column":11},"end":{"row":9,"column":12},"action":"insert","lines":["("],"id":82}],[{"start":{"row":9,"column":12},"end":{"row":9,"column":13},"action":"insert","lines":["'"],"id":83}],[{"start":{"row":9,"column":13},"end":{"row":9,"column":14},"action":"insert","lines":["*"],"id":84}],[{"start":{"row":9,"column":14},"end":{"row":9,"column":15},"action":"insert","lines":["*"],"id":85}],[{"start":{"row":9,"column":15},"end":{"row":9,"column":16},"action":"insert","lines":["*"],"id":86}],[{"start":{"row":9,"column":16},"end":{"row":9,"column":17},"action":"insert","lines":["'"],"id":87}],[{"start":{"row":9,"column":17},"end":{"row":9,"column":18},"action":"insert","lines":[","],"id":88}],[{"start":{"row":9,"column":18},"end":{"row":9,"column":19},"action":"insert","lines":[" "],"id":89}],[{"start":{"row":9,"column":19},"end":{"row":9,"column":28},"action":"insert","lines":["selectors"],"id":90}],[{"start":{"row":9,"column":28},"end":{"row":9,"column":29},"action":"insert","lines":[")"],"id":91}],[{"start":{"row":9,"column":29},"end":{"row":9,"column":30},"action":"insert","lines":[";"],"id":92}],[{"start":{"row":0,"column":22},"end":{"row":0,"column":23},"action":"remove","lines":["}"],"id":93}],[{"start":{"row":0,"column":21},"end":{"row":0,"column":22},"action":"remove","lines":[" "],"id":94}],[{"start":{"row":0,"column":8},"end":{"row":0,"column":9},"action":"remove","lines":[" "],"id":95}],[{"start":{"row":0,"column":7},"end":{"row":0,"column":8},"action":"remove","lines":["{"],"id":96}],[{"start":{"row":9,"column":0},"end":{"row":9,"column":30},"action":"remove","lines":["console.log('***', selectors);"],"id":97}],[{"start":{"row":37,"column":0},"end":{"row":37,"column":34},"action":"remove","lines":["selectors.markets = makeMarkets();"],"id":99}],[{"start":{"row":127,"column":0},"end":{"row":290,"column":1},"action":"remove","lines":["function makeMarkets(numMarkets = 20) {","\tvar markets = [],","\t\ttypes = ['binary', 'categorical', 'scalar'],","\t\ti;","","\tfor (i = 0; i < numMarkets; i++) {","\t\tmarkets.push(makeDummyMarket(i));","\t}","","\treturn markets;","","\tfunction makeDummyMarket(index) {","\t\tvar id = index.toString(),","\t\t\tm = {","\t\t\t\tid: id,","\t\t\t\ttype: types[randomInt(0, types.length - 1)],","\t\t\t\tdescription: 'Will the dwerps achieve a mwerp by the end of zwerp ' + (index + 1) + '?',","\t\t\t\tendDate: { formatted: '12/12/2017' },","\t\t\t\ttradingFeePercent: makeNumber(randomInt(1, 10), '%', true),","\t\t\t\tvolume: makeNumber(randomInt(0, 10000), 'Shares', true),","\t\t\t\tisOpen: Math.random() > 0.1,","\t\t\t\tisPendingReport: Math.random() < 0.5,","\t\t\t\tmarketLink: { text: 'Trade', className: 'trade', onClick: () => module.exports.update({ activePage: M, market: m }) },","\t\t\t};","","\t\tm.outcomes = [","\t\t\t{","\t\t\t\tid: '1',","\t\t\t\tname: 'YES',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(50, 100), '%'),","\t\t\t\tposition: {","\t\t\t\t\tqtyShares: makeNumber(16898, 'Shares'),","\t\t\t\t\ttotalValue: makeNumber(14877, 'eth'),","\t\t\t\t\tgainPercent: makeNumber(14, '%'),","\t\t\t\t\tpurchasePrice: makeNumber(0.77, 'eth'),","\t\t\t\t\tshareChange: makeNumber(0.107, 'eth'),","\t\t\t\t\ttotalCost: makeNumber(12555, 'eth'),","\t\t\t\t\tnetChange: makeNumber(3344, 'eth')","\t\t\t\t},","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[0].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[0].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[0].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tconsole.log(m.outcomes[0].trade);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t},","\t\t\t{","\t\t\t\tid: '2',","\t\t\t\tname: 'NO',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(20, 50), '%'),","\t\t\t\tposition: {","\t\t\t\t\tqtyShares: makeNumber(455, 'Shares'),","\t\t\t\t\ttotalValue: makeNumber(776, 'eth'),","\t\t\t\t\tgainPercent: makeNumber(-6, '%'),","\t\t\t\t\tpurchasePrice: makeNumber(0.6, 'eth'),","\t\t\t\t\tshareChange: makeNumber(0.5, 'eth'),","\t\t\t\t\ttotalCost: makeNumber(980, 'eth'),","\t\t\t\t\tnetChange: makeNumber(230, 'eth')","\t\t\t\t},","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[1].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[1].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[1].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t},","\t\t\t{","\t\t\t\tid: '3',","\t\t\t\tname: 'MAYBE',","\t\t\t\tlastPrice: makeNumber(Math.round(Math.random() * 100) / 100, 'eth'),","\t\t\t\tlastPricePercent: makeNumber(randomInt(0, 30), '%'),","\t\t\t\ttrade: {","\t\t\t\t\tnumShares: 0,","\t\t\t\t\tlimitPrice: 0,","\t\t\t\t\ttradeSummary: {","\t\t\t\t\t\ttotalEther: makeNumber(0)","\t\t\t\t\t},","\t\t\t\t\tonChangeTrade: (numShares, limitPrice) => {","\t\t\t\t\t\tlimitPrice = m.outcomes[0].lastPrice.value;","\t\t\t\t\t\tm.outcomes[2].trade.numShares = numShares;","\t\t\t\t\t\tm.outcomes[2].trade.limitPrice = limitPrice;","\t\t\t\t\t\tm.outcomes[2].trade.totalCost = makeNumber(Math.round(numShares * limitPrice * -100) / 100);","\t\t\t\t\t\tselectors.render();","\t\t\t\t\t}","\t\t\t\t}","\t\t\t}","\t\t];","","\t\tm.reportableOutcomes = m.outcomes.slice();","\t\tm.reportableOutcomes.push({ id: '1.5', name: 'indeterminate' });","","\t\t// trade summary","\t\tObject.defineProperty(m, 'tradeSummary', {","\t\t\tget: () => {","\t\t\t\tvar tots = m.outcomes.reduce((p, outcome) => {","\t\t\t\t\t\tvar numShares,","\t\t\t\t\t\t\tlimitPrice,","\t\t\t\t\t\t\tcost;","","\t\t\t\t\t\tif (!outcome.trade || !outcome.trade.numShares) {","\t\t\t\t\t\t\treturn p;","\t\t\t\t\t\t}","","\t\t\t\t\t\tnumShares = outcome.trade.numShares;","\t\t\t\t\t\tlimitPrice = outcome.trade.limitPrice || 0;","\t\t\t\t\t\tcost = numShares * limitPrice;","","\t\t\t\t\t\tp.tradeOrders.push({ type: BUY_SHARES, shares: makeNumber(numShares), ether: makeNumber(cost), data: { outcomeName: 'MAYBE', marketDescription: m.description } });","\t\t\t\t\t\tp.totalShares += numShares;","\t\t\t\t\t\tp.totalEther += cost;","\t\t\t\t\t\treturn p;","\t\t\t\t\t}, { totalShares: 0, totalEther: 0, totalFees: 0, totalGas: 0, tradeOrders: [] });","","\t\t\t\ttots.totalShares = makeNumber(tots.totalShares);","\t\t\t\ttots.totalEther = makeNumber(tots.totalEther);","\t\t\t\ttots.totalFees = makeNumber(tots.totalFees);","\t\t\t\ttots.totalGas = makeNumber(tots.totalGas);","\t\t\t\ttots.onSubmitPlaceTrade = () => {};","","\t\t\t\treturn tots;","\t\t\t},","\t\t\tenumerable: true","\t\t});","","\t\t// positions summary","\t\tm.positionsSummary = {","\t\t\tnumPositions: makeNumber(3, 'Positions', true),","\t\t\ttotalValue: makeNumber(985, 'eth'),","\t\t\tgainPercent: makeNumber(15, '%')","\t\t};","","\t\t// report","\t\tm.report = {","\t\t\tisUnethical: true,","\t\t\tonSubmitReport: (reportedOutcomeID, isUnethical) => {}","\t\t};","","\t\treturn m;","\t}","}","","","function randomInt(min, max) {","\treturn Math.floor(Math.random() * (max - min + 1)) + min;","}"],"id":101}],[{"start":{"row":100,"column":0},"end":{"row":126,"column":0},"action":"remove","lines":["function makeNumber(num, denomination, omitSign) {","\tvar o = {","\t\tvalue: num,","","\t\tformattedValue: num,","\t\tformatted: num.toString(),","","\t\troundedValue: num,","\t\trounded: num.toString(),","","\t\tminimized: num.toString(),","\t\tdenomination: denomination || ''","\t};","","\tif (!omitSign) {"," if (o.value > 0) {"," o.formatted = '+' + o.formatted;"," o.rounded = '+' + o.rounded;"," o.minimized = '+' + o.minimized;"," }","\t}","","\to.full = o.formatted + o.denomination;","","\treturn o;","}",""],"id":102}],[{"start":{"row":1,"column":0},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":103}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":1},"action":"insert","lines":["i"],"id":104}],[{"start":{"row":2,"column":1},"end":{"row":2,"column":2},"action":"insert","lines":["m"],"id":105}],[{"start":{"row":2,"column":2},"end":{"row":2,"column":3},"action":"insert","lines":["p"],"id":106}],[{"start":{"row":2,"column":3},"end":{"row":2,"column":4},"action":"insert","lines":["o"],"id":107}],[{"start":{"row":2,"column":4},"end":{"row":2,"column":5},"action":"insert","lines":["r"],"id":108}],[{"start":{"row":2,"column":5},"end":{"row":2,"column":6},"action":"insert","lines":["t"],"id":109}],[{"start":{"row":2,"column":6},"end":{"row":2,"column":7},"action":"insert","lines":[" "],"id":110}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":17},"action":"insert","lines":["makeNumber"],"id":111}],[{"start":{"row":2,"column":17},"end":{"row":2,"column":18},"action":"insert","lines":[" "],"id":112}],[{"start":{"row":2,"column":18},"end":{"row":2,"column":19},"action":"insert","lines":["f"],"id":113}],[{"start":{"row":2,"column":19},"end":{"row":2,"column":20},"action":"insert","lines":["r"],"id":114}],[{"start":{"row":2,"column":20},"end":{"row":2,"column":21},"action":"insert","lines":["o"],"id":115}],[{"start":{"row":2,"column":21},"end":{"row":2,"column":22},"action":"insert","lines":["m"],"id":116}],[{"start":{"row":2,"column":22},"end":{"row":2,"column":23},"action":"insert","lines":[" "],"id":117}],[{"start":{"row":2,"column":23},"end":{"row":2,"column":24},"action":"insert","lines":["'"],"id":118}],[{"start":{"row":2,"column":24},"end":{"row":2,"column":25},"action":"insert","lines":["'"],"id":119}],[{"start":{"row":2,"column":25},"end":{"row":2,"column":26},"action":"insert","lines":[";"],"id":120}],[{"start":{"row":2,"column":26},"end":{"row":3,"column":0},"action":"insert","lines":["",""],"id":121}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":26},"action":"remove","lines":["import makeNumber from '';"],"id":122},{"start":{"row":2,"column":0},"end":{"row":2,"column":52},"action":"insert","lines":["import { emptyNumber } from '../utils/empty-number';"]}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":20},"action":"remove","lines":["emptyNumber"],"id":123},{"start":{"row":2,"column":9},"end":{"row":2,"column":19},"action":"insert","lines":["makeNumber"]}],[{"start":{"row":2,"column":37},"end":{"row":2,"column":42},"action":"remove","lines":["empty"],"id":124},{"start":{"row":2,"column":37},"end":{"row":2,"column":38},"action":"insert","lines":["m"]}],[{"start":{"row":2,"column":38},"end":{"row":2,"column":39},"action":"insert","lines":["a"],"id":125}],[{"start":{"row":2,"column":39},"end":{"row":2,"column":40},"action":"insert","lines":["k"],"id":126}],[{"start":{"row":2,"column":40},"end":{"row":2,"column":41},"action":"insert","lines":["e"],"id":127}],[{"start":{"row":0,"column":0},"end":{"row":0,"column":53},"action":"remove","lines":["import loginAccount from './selectors/login-account';"],"id":128},{"start":{"row":0,"column":0},"end":{"row":0,"column":53},"action":"insert","lines":["import loginAccount from './selectors/login-account';"]}],[{"start":{"row":0,"column":53},"end":{"row":1,"column":0},"action":"insert","lines":["",""],"id":129}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":53},"action":"insert","lines":["import loginAccount from './selectors/login-account';"],"id":130}],[{"start":{"row":1,"column":7},"end":{"row":1,"column":19},"action":"remove","lines":["loginAccount"],"id":131},{"start":{"row":1,"column":7},"end":{"row":1,"column":8},"action":"insert","lines":["m"]}],[{"start":{"row":1,"column":8},"end":{"row":1,"column":9},"action":"insert","lines":["a"],"id":132}],[{"start":{"row":1,"column":9},"end":{"row":1,"column":10},"action":"insert","lines":["r"],"id":133}],[{"start":{"row":1,"column":10},"end":{"row":1,"column":11},"action":"insert","lines":["k"],"id":134}],[{"start":{"row":1,"column":11},"end":{"row":1,"column":12},"action":"insert","lines":["e"],"id":135}],[{"start":{"row":1,"column":12},"end":{"row":1,"column":13},"action":"insert","lines":["t"],"id":136}],[{"start":{"row":1,"column":13},"end":{"row":1,"column":14},"action":"insert","lines":["s"],"id":137}],[{"start":{"row":1,"column":33},"end":{"row":1,"column":46},"action":"remove","lines":["login-account"],"id":138},{"start":{"row":1,"column":33},"end":{"row":1,"column":40},"action":"insert","lines":["markets"]}],[{"start":{"row":10,"column":13},"end":{"row":10,"column":14},"action":"insert","lines":[","],"id":139}],[{"start":{"row":10,"column":14},"end":{"row":11,"column":0},"action":"insert","lines":["",""],"id":140},{"start":{"row":11,"column":0},"end":{"row":11,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":11,"column":1},"end":{"row":11,"column":8},"action":"insert","lines":["markets"],"id":141}],[{"start":{"row":96,"column":0},"end":{"row":100,"column":2},"action":"remove","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":142}],[{"start":{"row":96,"column":0},"end":{"row":97,"column":0},"action":"remove","lines":["",""],"id":143}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":144}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":145}],[{"start":{"row":93,"column":0},"end":{"row":94,"column":0},"action":"remove","lines":["",""],"id":146}],[{"start":{"row":8,"column":0},"end":{"row":9,"column":0},"action":"insert","lines":["",""],"id":147}],[{"start":{"row":9,"column":0},"end":{"row":13,"column":2},"action":"insert","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":148}],[{"start":{"row":13,"column":2},"end":{"row":14,"column":0},"action":"insert","lines":["",""],"id":149}],[{"start":{"row":15,"column":17},"end":{"row":16,"column":0},"action":"insert","lines":["",""],"id":150},{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":16,"column":0},"end":{"row":20,"column":1},"action":"insert","lines":["update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","}"],"id":151}],[{"start":{"row":16,"column":0},"end":{"row":16,"column":1},"action":"insert","lines":["\t"],"id":152},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":18,"column":0},"end":{"row":18,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":19,"column":0},"end":{"row":19,"column":1},"action":"insert","lines":["\t"]},{"start":{"row":20,"column":0},"end":{"row":20,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":3},"action":"remove","lines":["\t"],"id":153}],[{"start":{"row":20,"column":2},"end":{"row":20,"column":3},"action":"insert","lines":[","],"id":154}],[{"start":{"row":16,"column":7},"end":{"row":16,"column":8},"action":"insert","lines":[":"],"id":155}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"remove","lines":[" "],"id":156}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"remove","lines":["="],"id":157}],[{"start":{"row":16,"column":9},"end":{"row":16,"column":17},"action":"remove","lines":["function"],"id":158}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":["="],"id":159}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":[">"],"id":160}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":[" "],"id":161}],[{"start":{"row":16,"column":18},"end":{"row":16,"column":19},"action":"insert","lines":[" "],"id":162}],[{"start":{"row":16,"column":19},"end":{"row":16,"column":20},"action":"insert","lines":["="],"id":163}],[{"start":{"row":16,"column":20},"end":{"row":16,"column":21},"action":"insert","lines":[" "],"id":164}],[{"start":{"row":16,"column":21},"end":{"row":16,"column":22},"action":"insert","lines":["{"],"id":165}],[{"start":{"row":16,"column":22},"end":{"row":16,"column":23},"action":"insert","lines":["}"],"id":166}],[{"start":{"row":3,"column":28},"end":{"row":3,"column":29},"action":"remove","lines":["."],"id":167}],[{"start":{"row":9,"column":0},"end":{"row":13,"column":2},"action":"remove","lines":["selectors.update = function(newState) {","\tconsole.log('*** update', newState);","\tObject.keys(newState).forEach(key => selectors[key] = newState[key]);","\tselectors.render();","};"],"id":168}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["",""],"id":169}],[{"start":{"row":9,"column":0},"end":{"row":10,"column":0},"action":"remove","lines":["",""],"id":170}],[{"start":{"row":7,"column":0},"end":{"row":7,"column":135},"action":"remove","lines":["import { CREATE_MARKET, BUY_SHARES, SELL_SHARES, BID_SHARES, ASK_SHARES, SUBMIT_REPORT } from './modules/transactions/constants/types';"],"id":171}],[{"start":{"row":7,"column":0},"end":{"row":8,"column":0},"action":"remove","lines":["",""],"id":172}],[{"start":{"row":57,"column":18},"end":{"row":57,"column":19},"action":"insert","lines":[" "],"id":173}],[{"start":{"row":57,"column":19},"end":{"row":57,"column":20},"action":"insert","lines":["="],"id":174}],[{"start":{"row":57,"column":20},"end":{"row":57,"column":21},"action":"insert","lines":[" "],"id":175}],[{"start":{"row":57,"column":21},"end":{"row":57,"column":22},"action":"insert","lines":["{"],"id":176}],[{"start":{"row":57,"column":22},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":177},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":58,"column":26},"end":{"row":59,"column":0},"action":"insert","lines":["",""],"id":178},{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":59,"column":1},"end":{"row":59,"column":2},"action":"insert","lines":["}"],"id":179}],[{"start":{"row":59,"column":0},"end":{"row":59,"column":1},"action":"remove","lines":["\t"],"id":180}],[{"start":{"row":57,"column":22},"end":{"row":58,"column":0},"action":"insert","lines":["",""],"id":181},{"start":{"row":58,"column":0},"end":{"row":58,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":58,"column":1},"end":{"row":58,"column":2},"action":"insert","lines":["v"],"id":182}],[{"start":{"row":58,"column":2},"end":{"row":58,"column":3},"action":"insert","lines":["a"],"id":183}],[{"start":{"row":58,"column":3},"end":{"row":58,"column":4},"action":"insert","lines":["l"],"id":184}],[{"start":{"row":58,"column":4},"end":{"row":58,"column":5},"action":"insert","lines":["u"],"id":185}],[{"start":{"row":58,"column":5},"end":{"row":58,"column":6},"action":"insert","lines":["e"],"id":186}],[{"start":{"row":58,"column":6},"end":{"row":58,"column":7},"action":"insert","lines":[":"],"id":187}],[{"start":{"row":58,"column":7},"end":{"row":58,"column":8},"action":"insert","lines":[" "],"id":188}],[{"start":{"row":58,"column":8},"end":{"row":58,"column":9},"action":"insert","lines":["'"],"id":189}],[{"start":{"row":58,"column":9},"end":{"row":58,"column":10},"action":"insert","lines":["'"],"id":190}],[{"start":{"row":58,"column":10},"end":{"row":58,"column":11},"action":"insert","lines":[","],"id":191}],[{"start":{"row":59,"column":1},"end":{"row":59,"column":14},"action":"remove","lines":["ChangeHandler"],"id":192},{"start":{"row":59,"column":1},"end":{"row":59,"column":17},"action":"insert","lines":["onChangeKeywords"]}],[{"start":{"row":59,"column":20},"end":{"row":59,"column":21},"action":"remove","lines":[" "],"id":193}],[{"start":{"row":59,"column":19},"end":{"row":59,"column":20},"action":"remove","lines":[" "],"id":194}],[{"start":{"row":59,"column":18},"end":{"row":59,"column":19},"action":"remove","lines":["="],"id":195}],[{"start":{"row":59,"column":17},"end":{"row":59,"column":18},"action":"remove","lines":[" "],"id":196}],[{"start":{"row":59,"column":17},"end":{"row":59,"column":18},"action":"insert","lines":[":"],"id":197}],[{"start":{"row":59,"column":18},"end":{"row":59,"column":19},"action":"insert","lines":[" "],"id":198}],[{"start":{"row":30,"column":0},"end":{"row":35,"column":0},"action":"insert","lines":["selectors.keywords = {","\tvalue: '',","\tonChangeKeywords: () => {}","};","",""],"id":199,"ignore":true}],[{"start":{"row":1,"column":0},"end":{"row":1,"column":42},"action":"remove","lines":["import markets from './selectors/markets';"],"id":200},{"start":{"row":1,"column":0},"end":{"row":1,"column":42},"action":"insert","lines":["import markets from './selectors/markets';"]}],[{"start":{"row":1,"column":42},"end":{"row":2,"column":0},"action":"insert","lines":["",""],"id":201}],[{"start":{"row":2,"column":0},"end":{"row":2,"column":42},"action":"insert","lines":["import markets from './selectors/markets';"],"id":202}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":14},"action":"remove","lines":["markets"],"id":203},{"start":{"row":2,"column":7},"end":{"row":2,"column":8},"action":"insert","lines":["t"]}],[{"start":{"row":2,"column":8},"end":{"row":2,"column":9},"action":"insert","lines":["a"],"id":204}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":10},"action":"insert","lines":["g"],"id":205}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"insert","lines":["s"],"id":206}],[{"start":{"row":2,"column":30},"end":{"row":2,"column":37},"action":"remove","lines":["markets"],"id":207},{"start":{"row":2,"column":30},"end":{"row":2,"column":31},"action":"insert","lines":["t"]}],[{"start":{"row":2,"column":31},"end":{"row":2,"column":32},"action":"insert","lines":["a"],"id":208}],[{"start":{"row":2,"column":32},"end":{"row":2,"column":33},"action":"insert","lines":["g"],"id":209}],[{"start":{"row":2,"column":33},"end":{"row":2,"column":34},"action":"insert","lines":["s"],"id":210}],[{"start":{"row":16,"column":8},"end":{"row":16,"column":9},"action":"insert","lines":[","],"id":211}],[{"start":{"row":16,"column":9},"end":{"row":17,"column":0},"action":"insert","lines":["",""],"id":212},{"start":{"row":17,"column":0},"end":{"row":17,"column":1},"action":"insert","lines":["\t"]}],[{"start":{"row":17,"column":1},"end":{"row":17,"column":5},"action":"insert","lines":["tags"],"id":213}],[{"start":{"row":63,"column":0},"end":{"row":64,"column":0},"action":"remove","lines":["selectors.filtersProps = {};",""],"id":214}],[{"start":{"row":2,"column":7},"end":{"row":2,"column":11},"action":"remove","lines":["tags"],"id":215},{"start":{"row":2,"column":7},"end":{"row":2,"column":8},"action":"insert","lines":["f"]}],[{"start":{"row":2,"column":8},"end":{"row":2,"column":9},"action":"insert","lines":["i"],"id":216}],[{"start":{"row":2,"column":9},"end":{"row":2,"column":10},"action":"insert","lines":["l"],"id":217}],[{"start":{"row":2,"column":10},"end":{"row":2,"column":11},"action":"insert","lines":["t"],"id":218}],[{"start":{"row":2,"column":11},"end":{"row":2,"column":12},"action":"insert","lines":["e"],"id":219}],[{"start":{"row":2,"column":12},"end":{"row":2,"column":13},"action":"insert","lines":["r"],"id":220}],[{"start":{"row":2,"column":13},"end":{"row":2,"column":14},"action":"insert","lines":["s"],"id":221}],[{"start":{"row":2,"column":33},"end":{"row":2,"column":37},"action":"remove","lines":["tags"],"id":222},{"start":{"row":2,"column":33},"end":{"row":2,"column":40},"action":"insert","lines":["filters"]}],[{"start":{"row":17,"column":1},"end":{"row":17,"column":5},"action":"remove","lines":["tags"],"id":223},{"start":{"row":17,"column":1},"end":{"row":17,"column":8},"action":"insert","lines":["filters"]}],[{"start":{"row":9,"column":0},"end":{"row":17,"column":0},"action":"insert","lines":["import {","\tINITIAL_FAIR_PRICE_DEFAULT,","\tSHARES_PER_ORDER_DEFAULT,","\tSIZE_OF_BEST_DEFAULT,","\tPRICE_WIDTH_DEFAULT,","\tSEPARATION_DEFAULT","} from './modules/create-market/constants/market-values-constraints'","",""],"id":243,"ignore":true},{"start":{"row":113,"column":31},"end":{"row":134,"column":0},"action":"insert","lines":["","\tonValuesUpdated: (newValues) => module.exports.update({","\t\tcreateMarketForm: {","\t\t\t...selectors.createMarketForm,","\t\t\t...newValues","\t\t}","\t}),","","\tstep: 1,","\terrors: {},","","\tisValid: true,","","\t// Advanced Market Creation","\tdefaultFairPrice: INITIAL_FAIR_PRICE_DEFAULT,","","\tinitialFairPrice: [],","\tsharesPerOrder: SHARES_PER_ORDER_DEFAULT,","\tsizeOfBest: SIZE_OF_BEST_DEFAULT,","\tpriceWidth: PRICE_WIDTH_DEFAULT,","\tseparation: SEPARATION_DEFAULT",""]}],[{"start":{"row":9,"column":0},"end":{"row":17,"column":0},"action":"remove","lines":["import {","\tINITIAL_FAIR_PRICE_DEFAULT,","\tSHARES_PER_ORDER_DEFAULT,","\tSIZE_OF_BEST_DEFAULT,","\tPRICE_WIDTH_DEFAULT,","\tSEPARATION_DEFAULT","} from './modules/create-market/constants/market-values-constraints'","",""],"id":244,"ignore":true},{"start":{"row":105,"column":31},"end":{"row":126,"column":0},"action":"remove","lines":["","\tonValuesUpdated: (newValues) => module.exports.update({","\t\tcreateMarketForm: {","\t\t\t...selectors.createMarketForm,","\t\t\t...newValues","\t\t}","\t}),","","\tstep: 1,","\terrors: {},","","\tisValid: true,","","\t// Advanced Market Creation","\tdefaultFairPrice: INITIAL_FAIR_PRICE_DEFAULT,","","\tinitialFairPrice: [],","\tsharesPerOrder: SHARES_PER_ORDER_DEFAULT,","\tsizeOfBest: SIZE_OF_BEST_DEFAULT,","\tpriceWidth: PRICE_WIDTH_DEFAULT,","\tseparation: SEPARATION_DEFAULT",""]},{"start":{"row":108,"column":0},"end":{"row":110,"column":0},"action":"remove","lines":["","",""]}]]},"ace":{"folds":[],"scrolltop":0,"scrollleft":0,"selection":{"start":{"row":33,"column":11},"end":{"row":33,"column":11},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":8,"state":"start","mode":"ace/mode/javascript"}},"timestamp":1463436393000,"hash":"6824ede973b789a95636dc429242f15becd1824d"}
{
"name": "augur-ui-react-components",
"version": "2.2.5",
"version": "2.2.7",
"description": "Augur UI React Components",

@@ -16,8 +16,10 @@ "author": "Baz (@thinkloop)",

"scripts": {
"start": "http-server ./demo -c-1 -p $PORT",
"test": "NODE_ENV=test mocha",
"test:watch": "npm test -- --watch",
"deploy:demo": "firebase deploy -f augur-ui",
"_____": "",
"watch": "clear; echo \"* CLEAN * HTML * ASSETS * CSS * WATCHIFY *\"; NODE_ENV=development npm run -s watch:all",
"build": "clear; echo \"* * * * BUILD * * * *\"; NODE_ENV=production npm run -s build:all",
"start": "http-server ./demo -c-1 -p $PORT",
"test": "echo \"Error: no test specified\" && exit 1",
"publish_to_npm": "clear; echo \"* * * * PUBLISH * * * *\"; NODE_ENV=production npm run -s build:all && git add --all && git commit -m 'build for publish' && npm version patch && git push && git push --tags && npm publish",
"deploy:demo": "firebase deploy -f augur-ui",
"______": "",

@@ -50,4 +52,6 @@ "build:all": "npm run -s clean:build && (npm run -s build:css & npm run -s build:assets & npm run -s build:js) && npm run -s build:finish",

"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.9.0",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"chai": "^3.5.0",
"classnames": "^2.2.5",

@@ -63,2 +67,3 @@ "clean-css": "^3.4.14",

"less": "^2.7.1",
"mocha": "^2.5.3",
"npm-check-updates": "^2.6.5",

@@ -65,0 +70,0 @@ "onchange": "^2.4.0",

@@ -109,3 +109,1 @@ import loginAccount from './selectors/login-account';

module.exports = selectors;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc