Просмотр исходного кода

Make track changes api a first class citizen

James Allen 12 лет назад
Родитель
Сommit
bbdc08249b
2 измененных файлов с 9 добавлено и 6 удалено
  1. 4 6
      Gruntfile.coffee
  2. 5 0
      README.md

+ 4 - 6
Gruntfile.coffee

@@ -18,12 +18,10 @@ SERVICES = [{
 }, {
 }, {
 	name: "filestore"
 	name: "filestore"
 	repo: "https://github.com/sharelatex/filestore-sharelatex.git"
 	repo: "https://github.com/sharelatex/filestore-sharelatex.git"
-}]
-
-TRACK_CHANGES =
+}, {
 	name: "track-changes"
 	name: "track-changes"
 	repo: "https://github.com/sharelatex/track-changes-sharelatex.git"
 	repo: "https://github.com/sharelatex/track-changes-sharelatex.git"
-
+}]
 
 
 module.exports = (grunt) ->
 module.exports = (grunt) ->
 	grunt.loadNpmTasks 'grunt-bunyan'
 	grunt.loadNpmTasks 'grunt-bunyan'
@@ -32,7 +30,7 @@ module.exports = (grunt) ->
 	grunt.loadNpmTasks 'grunt-concurrent'
 	grunt.loadNpmTasks 'grunt-concurrent'
 
 
 	execute = {}
 	execute = {}
-	for service in SERVICES.concat([TRACK_CHANGES])
+	for service in SERVICES
 		execute[service.name] =
 		execute[service.name] =
 			src: "#{service.name}/app.js"
 			src: "#{service.name}/app.js"
 
 
@@ -70,7 +68,7 @@ module.exports = (grunt) ->
 						"Config tasks": ["install:config"]
 						"Config tasks": ["install:config"]
 						"Checks": ["check", "check:redis", "check:latexmk", "check:s3", "check:make"]
 						"Checks": ["check", "check:redis", "check:latexmk", "check:s3", "check:make"]
 
 
-	for service in SERVICES.concat([TRACK_CHANGES])
+	for service in SERVICES
 		do (service) ->
 		do (service) ->
 			grunt.registerTask "install:#{service.name}", "Download and set up the #{service.name} service", () ->
 			grunt.registerTask "install:#{service.name}", "Download and set up the #{service.name} service", () ->
 				done = @async()
 				done = @async()

+ 5 - 0
README.md

@@ -99,6 +99,11 @@ documents.
 An API for performing CRUD (Create, Read, Update and Delete) operations on binary files
 An API for performing CRUD (Create, Read, Update and Delete) operations on binary files
 (like images) stored in ShareLaTeX.
 (like images) stored in ShareLaTeX.
 
 
+### [track-changes](https://github.com/sharelatex/track-changes-sharelatex) [![Build Status](https://travis-ci.org/sharelatex/track-changes-sharelatex.png?branch=master)](https://travis-ci.org/sharelatex/track-changes-sharelatex)
+
+An API for compressing and storing the updates applied to a document, and then rendering a diff of the changes
+between any two time points. *Still in development and not hooked into the UI yet*.
+
 Contributing
 Contributing
 ------------
 ------------