James Allen 8 лет назад
Родитель
Сommit
810b5e0e9a

+ 2 - 5
services/web/docker-shared.template.yml

@@ -13,11 +13,8 @@ services:
       - ./npm-shrinkwrap.json:/app/npm-shrinkwrap.json
       - node_modules:/app/node_modules
       - ./bin:/app/bin
-      # Copying the whole public dir is fine for now, and needed for
-      # some unit tests to pass, but we will want to isolate the coffee
-      # and vendor js files, so that the compiled js files are not written
-      # back to the local filesystem.
-      - ./public:/app/public
+      - ./public/coffee:/app/public/coffee:ro
+      - ./public/js/ace-1.2.5:/app/public/js/ace-1.2.5
       - ./app.coffee:/app/app.coffee:ro
       - ./app/coffee:/app/app/coffee:ro
       - ./app/templates:/app/app/templates:ro

+ 1 - 1
services/web/test/unit_frontend/coffee/HistoryManagerV2Tests.coffee

@@ -27,7 +27,7 @@ describe "HistoryV2Manager", ->
 			atEnd: false
 			selection: {
 				updates: []
-				doc: null
+				pathname: null
 				range: {
 					fromV: null
 					toV: null