| Index: src/liveedit-debugger.js
|
| diff --git a/src/liveedit-debugger.js b/src/liveedit-debugger.js
|
| index 7ed22c84aadaaed25665f6826dd5f5e2c505addc..e05c53ce1841b35c1f3ca19264b857d154a689a3 100644
|
| --- a/src/liveedit-debugger.js
|
| +++ b/src/liveedit-debugger.js
|
| @@ -980,15 +980,15 @@ Debug.LiveEdit = new function() {
|
| // LiveEdit main entry point: changes a script text to a new string.
|
| function SetScriptSource(script, new_source, preview_only, change_log) {
|
| var old_source = script.source;
|
| - var diff = CompareStringsLinewise(old_source, new_source);
|
| + var diff = CompareStrings(old_source, new_source);
|
| return ApplyPatchMultiChunk(script, diff, new_source, preview_only,
|
| change_log);
|
| }
|
| // Function is public.
|
| this.SetScriptSource = SetScriptSource;
|
|
|
| - function CompareStringsLinewise(s1, s2) {
|
| - return %LiveEditCompareStringsLinewise(s1, s2);
|
| + function CompareStrings(s1, s2) {
|
| + return %LiveEditCompareStrings(s1, s2);
|
| }
|
|
|
| // Applies the change to the script.
|
| @@ -1076,7 +1076,7 @@ Debug.LiveEdit = new function() {
|
| // Functions are public for tests.
|
| this.TestApi = {
|
| PosTranslator: PosTranslator,
|
| - CompareStringsLinewise: CompareStringsLinewise,
|
| + CompareStrings: CompareStrings,
|
| ApplySingleChunkPatch: ApplySingleChunkPatch
|
| }
|
| }
|
|
|