fix(edit) if patch not str => patch = false

This commit is contained in:
coderaiser 2014-03-26 10:50:21 -04:00
parent 1527c983e5
commit afb2638cb6

View file

@ -187,6 +187,8 @@ var CloudCmd, Util, DOM, CloudFunc, ace, DiffProto, diff_match_patch;
if (isStr && patch && isLessLength)
query = '?patch';
else
patch = false;
Util.ifExec(!isZip || query, function(equal, data) {
var result = data || patch || Value,