mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature(main) rm diff
This commit is contained in:
parent
0e51abc38e
commit
6fa84b3c06
2 changed files with 5 additions and 7 deletions
|
|
@ -59,8 +59,6 @@
|
|||
CloudFunc = librequire('cloudfunc'),
|
||||
exports.socket = srvrequire('socket'),
|
||||
exports.auth = srvrequire('auth').auth,
|
||||
diffPatch = librequire('diff/diff-match-patch').diff_match_patch,
|
||||
exports.diff = new (librequire('diff').DiffProto)(diffPatch);
|
||||
|
||||
/* second initializing after all modules load, so global var is *
|
||||
* totally filled of all information that should know all modules */
|
||||
|
|
|
|||
|
|
@ -1,21 +1,21 @@
|
|||
(function() {
|
||||
'use strict';
|
||||
|
||||
var main = global.cloudcmd.main,
|
||||
|
||||
DIR = '../../../',
|
||||
var DIR = '../../../',
|
||||
DIR_SERVER = DIR + 'server/',
|
||||
|
||||
path = require('path'),
|
||||
fs = require('fs'),
|
||||
diff = main.diff,
|
||||
|
||||
CloudFunc = require(DIR + 'cloudfunc'),
|
||||
Util = require(DIR + 'util'),
|
||||
|
||||
flop = require(DIR_SERVER + 'flop'),
|
||||
pack = require(DIR_SERVER + 'pack'),
|
||||
pipe = require(DIR_SERVER + 'pipe');
|
||||
pipe = require(DIR_SERVER + 'pipe'),
|
||||
|
||||
diffPatch = require(DIR + 'diff/diff-match-patch').diff_match_patch,
|
||||
diff = new (require(DIR + 'diff').DiffProto)(diffPatch);
|
||||
|
||||
exports.onPut = onPut;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue