Bläddra i källkod

Working editor.

Frederic G. MARAND 8 år sedan
förälder
incheckning
0c3abeb24c

+ 1 - 0
.eslintrc.js

@@ -14,6 +14,7 @@ module.exports = {
 
     "Accounts": true,
     "Meteor": true,
+    "Mongo": true,
     "Package": true,
     "ServiceConfiguration": true,
     "Session": true,

+ 78 - 0
.gitignore

@@ -0,0 +1,78 @@
+# Created by .ignore support plugin (hsz.mobi)
+### Node template
+# Logs
+logs
+*.log
+npm-debug.log*
+
+# Runtime data
+pids
+*.pid
+*.seed
+
+# Directory for instrumented libs generated by jscoverage/JSCover
+lib-cov
+
+# Coverage directory used by tools like istanbul
+coverage
+
+# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
+.grunt
+
+# node-waf configuration
+.lock-wscript
+
+# Compiled binary addons (http://nodejs.org/api/addons.html)
+build/Release
+
+# Dependency directory
+# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
+node_modules
+### JetBrains template
+# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
+
+*.iml
+
+## Directory-based project format:
+.idea/
+# if you remove the above rule, at least ignore the following:
+
+# User-specific stuff:
+# .idea/workspace.xml
+# .idea/tasks.xml
+# .idea/dictionaries
+
+# Sensitive or high-churn files:
+# .idea/dataSources.ids
+# .idea/dataSources.xml
+# .idea/sqlDataSources.xml
+# .idea/dynamic.xml
+# .idea/uiDesigner.xml
+
+# Gradle:
+# .idea/gradle.xml
+# .idea/libraries
+
+# Mongo Explorer plugin:
+# .idea/mongoSettings.xml
+
+## File-based project format:
+*.ipr
+*.iws
+
+## Plugin-specific files:
+
+# IntelliJ
+/out/
+
+# mpeltonen/sbt-idea plugin
+.idea_modules/
+
+# JIRA plugin
+atlassian-ide-plugin.xml
+
+# Crashlytics plugin (for Android Studio and IntelliJ)
+com_crashlytics_export_strings.xml
+crashlytics.properties
+crashlytics-build.properties
+

+ 0 - 1
.idea/.name

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

+ 0 - 3
.idea/copyright/profiles_settings.xml

@@ -1,3 +0,0 @@
-<component name="CopyrightManager">
-  <settings default="" />
-</component>

+ 0 - 6
.idea/encodings.xml

@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="Encoding">
-    <file url="PROJECT" charset="UTF-8" />
-  </component>
-</project>

+ 0 - 6
.idea/inspectionProfiles/Project_Default.xml

@@ -1,6 +0,0 @@
-<component name="InspectionProjectProfileManager">
-  <profile version="1.0">
-    <option name="myName" value="Project Default" />
-    <inspection_tool class="Eslint" enabled="true" level="ERROR" enabled_by_default="true" />
-  </profile>
-</component>

+ 0 - 7
.idea/inspectionProfiles/profiles_settings.xml

@@ -1,7 +0,0 @@
-<component name="InspectionProjectProfileManager">
-  <settings>
-    <option name="PROJECT_PROFILE" value="Project Default" />
-    <option name="USE_PROJECT_PROFILE" value="true" />
-    <version value="1.0" />
-  </settings>
-</component>

+ 0 - 9
.idea/jsLibraryMappings.xml

@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="JavaScriptLibraryMappings">
-    <file url="PROJECT" libraries="{meteor-packages-auto-import-browser}" />
-    <includedPredefinedLibrary name="ECMAScript 6" />
-    <includedPredefinedLibrary name="Meteor project library" />
-    <includedPredefinedLibrary name="Node.js Core" />
-  </component>
-</project>

+ 0 - 231
.idea/libraries/meteor_packages_auto_import_browser.xml

@@ -1,231 +0,0 @@
-<component name="libraryTable">
-  <library name="meteor-packages-auto-import-browser" type="javaScript">
-    <properties>
-      <sourceFilesUrls>
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-common/1.2.2/web.browser/random_stream.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-common/1.2.2/web.browser/namespace.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-common/1.2.2/web.browser/method_invocation.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-common/1.2.2/web.browser/heartbeat.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-common/1.2.2/web.browser/utils.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/diff-sequence/1.0.1/web.browser/diff.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/binary-heap/1.0.4/web.browser/max-heap.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ejson/1.0.7/web.browser/stringify.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/retry/1.0.4/web.browser/retry.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ecmascript-runtime/0.2.6/web.browser/.npm/package/node_modules/meteor-ecmascript-runtime/client.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/view.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/fastclick/1.0.7/web.browser/fastclick.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/fastclick/1.0.7/web.browser/pre.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/template.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/fastclick/1.0.7/web.browser/post.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/geojson-utils/1.0.4/web.browser/post.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/geojson-utils/1.0.4/web.browser/geojson-utils.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/dombackend.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/materializer.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/attrs.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/geojson-utils/1.0.4/web.browser/pre.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/mongo-id/1.0.1/web.browser/id.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/html-tools/1.0.5/web.browser/scanner.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/html-tools/1.0.5/web.browser/templatetag.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/session/1.1.1/web.browser/session.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/html-tools/1.0.5/web.browser/utils.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/events.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/html-tools/1.0.5/web.browser/tokenize.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/exceptions.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/html-tools/1.0.5/web.browser/charref.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/builtins.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/html-tools/1.0.5/web.browser/parse.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/backcompat.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/promise/0.5.1/web.browser/.npm/package/node_modules/meteor-promise/promise.bundle.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/random/1.0.5/web.browser/deprecated.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/htmljs/1.0.5/web.browser/html.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/random/1.0.5/web.browser/random.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/htmljs/1.0.5/web.browser/visitors.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/reactive-dict/1.1.3/web.browser/reactive-dict.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/domrange.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/htmljs/1.0.5/web.browser/preamble.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/lookup.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/reactive-dict/1.1.3/web.browser/migration.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/preamble.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/http/1.1.1/web.browser/httpcall_common.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/http/1.1.1/web.browser/deprecated.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/http/1.1.1/web.browser/httpcall_client.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/templating-tools/1.0.0/web.browser/compile-tags-with-spacebars.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/templating-tools/1.0.0/web.browser/templating-tools.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/templating-tools/1.0.0/web.browser/throw-compile-error.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/spacebars/1.0.7/web.browser/spacebars-runtime.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/templating-tools/1.0.0/web.browser/html-scanner.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/templating-tools/1.0.0/web.browser/code-generation.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/id-map/1.0.4/web.browser/id-map.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/spacebars-compiler/1.0.7/web.browser/react.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/webapp/1.2.3/web.browser/webapp_client.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/jquery/1.11.4/web.browser/jquery.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/spacebars-compiler/1.0.7/web.browser/compiler.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze-tools/1.0.4/web.browser/tojs.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze-tools/1.0.4/web.browser/tokens.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/spacebars-compiler/1.0.7/web.browser/templatetag.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/blaze-tools/1.0.4/web.browser/preamble.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/jquery/1.11.4/web.browser/post.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/spacebars-compiler/1.0.7/web.browser/optimizer.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/launch-screen/1.0.4/web.browser/default-behavior.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/launch-screen/1.0.4/web.browser/mobile-launch-screen.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/spacebars-compiler/1.0.7/web.browser/codegen.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/observe-sequence/1.0.7/web.browser/observe_sequence.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/callback-hook/1.0.4/web.browser/hook.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/twbs_bootstrap/3.3.6/web.browser/dist/js/bootstrap.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/twbs_bootstrap/3.3.6/web.browser/dist/css/bootstrap.css" />
-        <item url="file://$USER_HOME$/.meteor/packages/logging/1.0.8/web.browser/logging.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ordered-dict/1.0.4/web.browser/ordered_dict.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/tracker/1.0.9/web.browser/deprecated.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/tracker/1.0.9/web.browser/tracker.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/underscore/1.0.4/web.browser/post.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/underscore/1.0.4/web.browser/underscore.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/underscore/1.0.4/web.browser/pre.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/url/1.0.5/web.browser/url_client.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/url/1.0.5/web.browser/url_common.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/reactive-var/1.0.6/web.browser/reactive-var.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/reload/1.1.4/web.browser/deprecated.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/reload/1.1.4/web.browser/reload.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/base64/1.0.4/web.browser/base64.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/binary-heap/1.0.4/web.browser/min-max-heap.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/binary-heap/1.0.4/web.browser/min-heap.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs/0.7.5/web.browser/sharejs-client.coffee" />
-        <item url="file://$USER_HOME$/.meteor/packages/ejson/1.0.7/web.browser/ejson.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs/0.7.5/web.browser/.npm/package/node_modules/share/webclient/share.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs/0.7.5/web.browser/.npm/package/node_modules/share/webclient/textarea.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs/0.7.5/web.browser/.npm/package/node_modules/share/node_modules/browserchannel/dist/bcsocket.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs/0.7.5/web.browser/packages/mizzao_sharejs/.npm/package/node_modules/share/webclient/ace.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs/0.7.5/web.browser/packages/mizzao_sharejs/.npm/package/node_modules/share/webclient/cm.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/autoupdate/1.2.4/web.browser/autoupdate_client.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs-codemirror/4.12.0/web.browser/packages/mizzao:sharejs-codemirror.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/babel-runtime/0.1.4/web.browser/babel-runtime.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/check/1.1.0/web.browser/match.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs-codemirror/4.12.0/web.browser/packages/mizzao:sharejs-codemirror/codemirror/lib/codemirror.css" />
-        <item url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs-codemirror/4.12.0/web.browser/packages/mizzao:sharejs-codemirror/codemirror/theme/monokai.css" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/sockjs-0.3.4.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs-codemirror/4.12.0/web.browser/packages/mizzao:sharejs-codemirror/codemirror/addon/fold/foldgutter.css" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/stream_client_common.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs-codemirror/4.12.0/web.browser/packages/mizzao:sharejs-codemirror/codemirror/addon/hint/show-hint.css" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/random_stream.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/stream_client_sockjs.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/livedata_connection.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/livedata_common.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/namespace.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/id_map.js" />
-        <item url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/client_convenience.js" />
-      </sourceFilesUrls>
-    </properties>
-    <CLASSES>
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-common/1.2.2/web.browser/random_stream.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-common/1.2.2/web.browser/namespace.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-common/1.2.2/web.browser/method_invocation.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-common/1.2.2/web.browser/heartbeat.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-common/1.2.2/web.browser/utils.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/diff-sequence/1.0.1/web.browser/diff.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/binary-heap/1.0.4/web.browser/max-heap.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ejson/1.0.7/web.browser/stringify.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/retry/1.0.4/web.browser/retry.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ecmascript-runtime/0.2.6/web.browser/.npm/package/node_modules/meteor-ecmascript-runtime/client.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/view.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/fastclick/1.0.7/web.browser/fastclick.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/fastclick/1.0.7/web.browser/pre.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/template.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/fastclick/1.0.7/web.browser/post.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/geojson-utils/1.0.4/web.browser/post.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/geojson-utils/1.0.4/web.browser/geojson-utils.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/dombackend.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/materializer.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/attrs.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/geojson-utils/1.0.4/web.browser/pre.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/mongo-id/1.0.1/web.browser/id.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/html-tools/1.0.5/web.browser/scanner.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/html-tools/1.0.5/web.browser/templatetag.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/session/1.1.1/web.browser/session.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/html-tools/1.0.5/web.browser/utils.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/events.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/html-tools/1.0.5/web.browser/tokenize.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/exceptions.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/html-tools/1.0.5/web.browser/charref.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/builtins.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/html-tools/1.0.5/web.browser/parse.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/backcompat.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/promise/0.5.1/web.browser/.npm/package/node_modules/meteor-promise/promise.bundle.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/random/1.0.5/web.browser/deprecated.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/htmljs/1.0.5/web.browser/html.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/random/1.0.5/web.browser/random.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/htmljs/1.0.5/web.browser/visitors.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/reactive-dict/1.1.3/web.browser/reactive-dict.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/domrange.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/htmljs/1.0.5/web.browser/preamble.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/lookup.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/reactive-dict/1.1.3/web.browser/migration.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze/2.1.3/web.browser/preamble.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/http/1.1.1/web.browser/httpcall_common.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/http/1.1.1/web.browser/deprecated.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/http/1.1.1/web.browser/httpcall_client.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/templating-tools/1.0.0/web.browser/compile-tags-with-spacebars.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/templating-tools/1.0.0/web.browser/templating-tools.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/templating-tools/1.0.0/web.browser/throw-compile-error.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/spacebars/1.0.7/web.browser/spacebars-runtime.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/templating-tools/1.0.0/web.browser/html-scanner.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/templating-tools/1.0.0/web.browser/code-generation.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/id-map/1.0.4/web.browser/id-map.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/spacebars-compiler/1.0.7/web.browser/react.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/webapp/1.2.3/web.browser/webapp_client.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/jquery/1.11.4/web.browser/jquery.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/spacebars-compiler/1.0.7/web.browser/compiler.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze-tools/1.0.4/web.browser/tojs.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze-tools/1.0.4/web.browser/tokens.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/spacebars-compiler/1.0.7/web.browser/templatetag.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/blaze-tools/1.0.4/web.browser/preamble.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/jquery/1.11.4/web.browser/post.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/spacebars-compiler/1.0.7/web.browser/optimizer.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/launch-screen/1.0.4/web.browser/default-behavior.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/launch-screen/1.0.4/web.browser/mobile-launch-screen.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/spacebars-compiler/1.0.7/web.browser/codegen.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/observe-sequence/1.0.7/web.browser/observe_sequence.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/callback-hook/1.0.4/web.browser/hook.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/twbs_bootstrap/3.3.6/web.browser/dist/js/bootstrap.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/twbs_bootstrap/3.3.6/web.browser/dist/css/bootstrap.css" />
-      <root url="file://$USER_HOME$/.meteor/packages/logging/1.0.8/web.browser/logging.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ordered-dict/1.0.4/web.browser/ordered_dict.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/tracker/1.0.9/web.browser/deprecated.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/tracker/1.0.9/web.browser/tracker.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/underscore/1.0.4/web.browser/post.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/underscore/1.0.4/web.browser/underscore.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/underscore/1.0.4/web.browser/pre.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/url/1.0.5/web.browser/url_client.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/url/1.0.5/web.browser/url_common.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/reactive-var/1.0.6/web.browser/reactive-var.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/reload/1.1.4/web.browser/deprecated.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/reload/1.1.4/web.browser/reload.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/base64/1.0.4/web.browser/base64.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/binary-heap/1.0.4/web.browser/min-max-heap.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/binary-heap/1.0.4/web.browser/min-heap.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs/0.7.5/web.browser/sharejs-client.coffee" />
-      <root url="file://$USER_HOME$/.meteor/packages/ejson/1.0.7/web.browser/ejson.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs/0.7.5/web.browser/.npm/package/node_modules/share/webclient/share.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs/0.7.5/web.browser/.npm/package/node_modules/share/webclient/textarea.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs/0.7.5/web.browser/.npm/package/node_modules/share/node_modules/browserchannel/dist/bcsocket.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs/0.7.5/web.browser/packages/mizzao_sharejs/.npm/package/node_modules/share/webclient/ace.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs/0.7.5/web.browser/packages/mizzao_sharejs/.npm/package/node_modules/share/webclient/cm.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/autoupdate/1.2.4/web.browser/autoupdate_client.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs-codemirror/4.12.0/web.browser/packages/mizzao:sharejs-codemirror.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/babel-runtime/0.1.4/web.browser/babel-runtime.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/check/1.1.0/web.browser/match.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs-codemirror/4.12.0/web.browser/packages/mizzao:sharejs-codemirror/codemirror/lib/codemirror.css" />
-      <root url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs-codemirror/4.12.0/web.browser/packages/mizzao:sharejs-codemirror/codemirror/theme/monokai.css" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/sockjs-0.3.4.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs-codemirror/4.12.0/web.browser/packages/mizzao:sharejs-codemirror/codemirror/addon/fold/foldgutter.css" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/stream_client_common.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/mizzao_sharejs-codemirror/4.12.0/web.browser/packages/mizzao:sharejs-codemirror/codemirror/addon/hint/show-hint.css" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/random_stream.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/stream_client_sockjs.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/livedata_connection.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/livedata_common.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/namespace.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/id_map.js" />
-      <root url="file://$USER_HOME$/.meteor/packages/ddp-client/1.2.1/web.browser/client_convenience.js" />
-    </CLASSES>
-    <SOURCES />
-  </library>
-</component>

+ 0 - 146
.idea/misc.xml

@@ -1,146 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="JSHintConfiguration" version="2.8.0" use-config-file="false">
-    <option asi="false" />
-    <option bitwise="true" />
-    <option boss="false" />
-    <option browser="true" />
-    <option browserify="false" />
-    <option camelcase="false" />
-    <option couch="false" />
-    <option curly="true" />
-    <option debug="false" />
-    <option devel="true" />
-    <option dojo="false" />
-    <option elision="false" />
-    <option enforceall="false" />
-    <option eqeqeq="true" />
-    <option eqnull="false" />
-    <option es3="false" />
-    <option es5="false" />
-    <option esnext="false" />
-    <option evil="false" />
-    <option expr="false" />
-    <option forin="true" />
-    <option freeze="false" />
-    <option funcscope="false" />
-    <option futurehostile="false" />
-    <option gcl="false" />
-    <option globalstrict="false" />
-    <option immed="false" />
-    <option iterator="false" />
-    <option jasmine="false" />
-    <option jquery="false" />
-    <option lastsemic="false" />
-    <option latedef="false" />
-    <option laxbreak="false" />
-    <option laxcomma="false" />
-    <option loopfunc="false" />
-    <option maxerr="50" />
-    <option mocha="false" />
-    <option mootools="false" />
-    <option moz="false" />
-    <option multistr="false" />
-    <option newcap="false" />
-    <option noarg="true" />
-    <option nocomma="false" />
-    <option node="false" />
-    <option noempty="true" />
-    <option nomen="false" />
-    <option nonbsp="false" />
-    <option nonew="true" />
-    <option nonstandard="false" />
-    <option notypeof="false" />
-    <option noyield="false" />
-    <option onevar="false" />
-    <option passfail="false" />
-    <option phantom="false" />
-    <option plusplus="false" />
-    <option proto="false" />
-    <option prototypejs="false" />
-    <option qunit="false" />
-    <option quotmark="false" />
-    <option rhino="false" />
-    <option scripturl="false" />
-    <option shadow="false" />
-    <option shelljs="false" />
-    <option singleGroups="false" />
-    <option smarttabs="false" />
-    <option strict="true" />
-    <option sub="false" />
-    <option supernew="false" />
-    <option trailing="false" />
-    <option typed="false" />
-    <option undef="true" />
-    <option unused="false" />
-    <option validthis="false" />
-    <option white="false" />
-    <option withstmt="false" />
-    <option worker="false" />
-    <option wsh="false" />
-    <option yui="false" />
-  </component>
-  <component name="JavaScriptSettings">
-    <option name="languageLevel" value="JSX" />
-  </component>
-  <component name="JsBowerSettings">
-    <exe-path>/usr/bin/bower</exe-path>
-    <config-path />
-  </component>
-  <component name="ProjectInspectionProfilesVisibleTreeState">
-    <entry key="Project Default">
-      <profile-state>
-        <expanded-state>
-          <State>
-            <id />
-          </State>
-          <State>
-            <id>CSS</id>
-          </State>
-          <State>
-            <id>Probable bugsCSS</id>
-          </State>
-          <State>
-            <id>RELAX NG</id>
-          </State>
-          <State>
-            <id>XPath</id>
-          </State>
-          <State>
-            <id>XSLT</id>
-          </State>
-        </expanded-state>
-        <selected-state>
-          <State>
-            <id>BashSupport</id>
-          </State>
-        </selected-state>
-      </profile-state>
-    </entry>
-  </component>
-  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
-    <OptionsSetting value="true" id="Add" />
-    <OptionsSetting value="true" id="Remove" />
-    <OptionsSetting value="true" id="Checkout" />
-    <OptionsSetting value="true" id="Update" />
-    <OptionsSetting value="true" id="Status" />
-    <OptionsSetting value="true" id="Edit" />
-    <ConfirmationsSetting value="0" id="Add" />
-    <ConfirmationsSetting value="0" id="Remove" />
-  </component>
-  <component name="masterDetails">
-    <states>
-      <state key="ScopeChooserConfigurable.UI">
-        <settings>
-          <splitter-proportions>
-            <option name="proportions">
-              <list>
-                <option value="0.2" />
-              </list>
-            </option>
-          </splitter-proportions>
-        </settings>
-      </state>
-    </states>
-  </component>
-</project>

+ 0 - 8
.idea/modules.xml

@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="ProjectModuleManager">
-    <modules>
-      <module fileurl="file://$PROJECT_DIR$/.idea/work.iml" filepath="$PROJECT_DIR$/.idea/work.iml" />
-    </modules>
-  </component>
-</project>

+ 0 - 6
.idea/vcs.xml

@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="VcsDirectoryMappings">
-    <mapping directory="$PROJECT_DIR$" vcs="Git" />
-  </component>
-</project>

+ 0 - 11
.idea/work.iml

@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<module type="WEB_MODULE" version="4">
-  <component name="NewModuleRootManager">
-    <content url="file://$MODULE_DIR$">
-      <excludeFolder url="file://$MODULE_DIR$/.meteor/local" />
-    </content>
-    <orderEntry type="inheritedJdk" />
-    <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="library" name="meteor-packages-auto-import-browser" level="project" />
-  </component>
-</module>

+ 0 - 221
.idea/workspace.xml

@@ -1,221 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project version="4">
-  <component name="ChangeListManager">
-    <list default="true" id="92e6309d-3eec-4038-9490-eb8651680e20" name="Default" comment="" />
-    <ignored path="work.iws" />
-    <ignored path=".idea/workspace.xml" />
-    <ignored path=".idea/dataSources.local.xml" />
-    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
-    <option name="TRACKING_ENABLED" value="true" />
-    <option name="SHOW_DIALOG" value="false" />
-    <option name="HIGHLIGHT_CONFLICTS" value="true" />
-    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
-    <option name="LAST_RESOLUTION" value="IGNORE" />
-  </component>
-  <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
-  <component name="CreatePatchCommitExecutor">
-    <option name="PATCH_PATH" value="" />
-  </component>
-  <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
-  <component name="FavoritesManager">
-    <favorites_list name="work" />
-  </component>
-  <component name="FileEditorManager">
-    <leaf>
-      <file leaf-file-name="textcircle.js" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/textcircle.js">
-          <provider selected="true" editor-type-id="text-editor">
-            <state vertical-scroll-proportion="0.0">
-              <caret line="10" column="0" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
-      <file leaf-file-name="textcircle.html" pinned="false" current-in-tab="true">
-        <entry file="file://$PROJECT_DIR$/textcircle.html">
-          <provider selected="true" editor-type-id="text-editor">
-            <state vertical-scroll-proportion="0.17391305">
-              <caret line="12" column="0" selection-start-line="12" selection-start-column="0" selection-end-line="12" selection-end-column="0" />
-              <folding />
-            </state>
-          </provider>
-        </entry>
-      </file>
-    </leaf>
-  </component>
-  <component name="Git.Settings">
-    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
-  </component>
-  <component name="IdeDocumentHistory">
-    <option name="CHANGED_PATHS">
-      <list>
-        <option value="$PROJECT_DIR$/textcircle.html" />
-        <option value="$PROJECT_DIR$/textcircle.js" />
-      </list>
-    </option>
-  </component>
-  <component name="JsBuildToolGruntFileManager" detection-done="true" />
-  <component name="JsBuildToolPackageJson" detection-done="true" />
-  <component name="JsGulpfileManager">
-    <detection-done>true</detection-done>
-  </component>
-  <component name="PhpServers">
-    <servers />
-  </component>
-  <component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
-  <component name="ProjectFrameBounds">
-    <option name="y" value="23" />
-    <option name="width" value="1916" />
-    <option name="height" value="1177" />
-  </component>
-  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
-    <OptionsSetting value="true" id="Add" />
-    <OptionsSetting value="true" id="Remove" />
-    <OptionsSetting value="true" id="Checkout" />
-    <OptionsSetting value="true" id="Update" />
-    <OptionsSetting value="true" id="Status" />
-    <OptionsSetting value="true" id="Edit" />
-    <ConfirmationsSetting value="0" id="Add" />
-    <ConfirmationsSetting value="0" id="Remove" />
-  </component>
-  <component name="ProjectView">
-    <navigator currentView="ProjectPane" proportions="" version="1">
-      <flattenPackages />
-      <showMembers />
-      <showModules />
-      <showLibraryContents />
-      <hideEmptyPackages />
-      <abbreviatePackageNames />
-      <autoscrollToSource />
-      <autoscrollFromSource />
-      <sortByType />
-      <manualOrder />
-      <foldersAlwaysOnTop value="true" />
-    </navigator>
-    <panes>
-      <pane id="ProjectPane">
-        <subPane>
-          <PATH>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="work" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-            </PATH_ELEMENT>
-          </PATH>
-          <PATH>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="work" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-            </PATH_ELEMENT>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="work" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-            </PATH_ELEMENT>
-          </PATH>
-          <PATH>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="work" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
-            </PATH_ELEMENT>
-            <PATH_ELEMENT>
-              <option name="myItemId" value="work" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-            </PATH_ELEMENT>
-            <PATH_ELEMENT>
-              <option name="myItemId" value=".meteor" />
-              <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
-            </PATH_ELEMENT>
-          </PATH>
-        </subPane>
-      </pane>
-      <pane id="Scratches" />
-      <pane id="Scope" />
-    </panes>
-  </component>
-  <component name="PropertiesComponent">
-    <property name="settings.editor.selected.configurable" value="preferences.sourceCode" />
-    <property name="settings.editor.splitter.proportion" value="0.2" />
-    <property name="javascript.nodejs.core.library.configured.version" value="0.12.2" />
-    <property name="HbShouldOpenHtmlAsHb" value="enabled" />
-    <property name="js.eslint.nodeInterpreter" value="/usr/local/bin/node" />
-    <property name="js.eslint.eslintPackage" value="/usr/local/lib/node_modules/eslint" />
-    <property name="js-jscs-nodeInterpreter" value="/usr/bin/node" />
-    <property name="js-jscs-package" value="/usr/lib/node_modules/jscs" />
-    <property name="configurable.Global.libraries.is.expanded" value="true" />
-    <property name="JavaScriptPreferStrict" value="false" />
-    <property name="JavaScriptWeakerCompletionTypeGuess" value="true" />
-    <property name="WebServerToolWindowFactoryState" value="false" />
-    <property name="js.meteor.project" value="true" />
-    <property name="js.meteor.library.was.enabled" value="true" />
-    <property name="ignore_missing_gitignore" value="true" />
-    <property name="last_opened_file_path" value="$PROJECT_DIR$/../../Coursera 1/image_share" />
-  </component>
-  <component name="ShelveChangesManager" show_recycled="false" />
-  <component name="TaskManager">
-    <task active="true" id="Default" summary="Default task">
-      <changelist id="92e6309d-3eec-4038-9490-eb8651680e20" name="Default" comment="" />
-      <created>1453064985916</created>
-      <option name="number" value="Default" />
-      <updated>1453064985916</updated>
-    </task>
-    <servers />
-  </component>
-  <component name="ToolWindowManager">
-    <frame x="0" y="23" width="1916" height="1177" extended-state="6" />
-    <editor active="true" />
-    <layout>
-      <window_info id="Project" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25773746" sideWeight="0.5" order="5" side_tool="false" content_ui="combo" />
-      <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
-      <window_info id="SvgViewer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
-      <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="true" content_ui="tabs" />
-      <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
-      <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
-      <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2497332" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
-      <window_info id="Mongo Explorer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
-      <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
-      <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="true" content_ui="tabs" />
-      <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
-      <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
-      <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
-      <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
-      <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
-      <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="combo" />
-      <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
-      <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
-      <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
-    </layout>
-  </component>
-  <component name="Vcs.Log.UiProperties">
-    <option name="RECENTLY_FILTERED_USER_GROUPS">
-      <collection />
-    </option>
-    <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
-      <collection />
-    </option>
-  </component>
-  <component name="VcsContentAnnotationSettings">
-    <option name="myLimit" value="2678400000" />
-  </component>
-  <component name="XDebuggerManager">
-    <breakpoint-manager />
-    <watches-manager />
-  </component>
-  <component name="editorHistoryManager">
-    <entry file="file://$PROJECT_DIR$/textcircle.js">
-      <provider selected="true" editor-type-id="text-editor">
-        <state vertical-scroll-proportion="0.0">
-          <caret line="10" column="0" selection-start-line="10" selection-start-column="0" selection-end-line="10" selection-end-column="0" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-    <entry file="file://$PROJECT_DIR$/textcircle.html">
-      <provider selected="true" editor-type-id="text-editor">
-        <state vertical-scroll-proportion="0.17391305">
-          <caret line="12" column="0" selection-start-line="12" selection-start-column="0" selection-end-line="12" selection-end-column="0" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
-  </component>
-</project>

+ 2 - 1
textcircle.html

@@ -8,5 +8,6 @@
 </body>
 
 <template name="editor">
-
+<h2>doc id: {{ docid }}</h2>
+  {{> sharejsCM docid=docid id="editor" }}
 </template>

+ 10 - 0
textcircle.js

@@ -1,10 +1,20 @@
+// Note: not Documents, but this.Documents, because of the editing package (?)
 this.Documents = new Mongo.Collection("documents");
 
 if (Meteor.isClient) {
+  Template.editor.helpers({
+    docid: function () {
+      let doc = Documents.findOne();
+      return doc ? doc._id : undefined;
+    }
+  });
 }
 
 if (Meteor.isServer) {
   Meteor.startup(function () {
     // startup code that creates a document in case there isn't one yet.
+    if (!Documents.findOne()) {
+      Documents.insert({ title: "my new document" });
+    }
   });
 }