mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
remove gdocs.js workaround for extra space issue in gdocs api
This commit is contained in:
parent
91f9efed49
commit
8fa598fa00
1 changed files with 0 additions and 1 deletions
1
gdocs.js
1
gdocs.js
|
|
@ -72,7 +72,6 @@ function download(collection, name, url) {
|
|||
function(data){
|
||||
data = data.replace('\ufeff', '');
|
||||
data = data.replace(/\r\n/mg, '\n');
|
||||
data = data.replace(/^ /mg, ' '); //for some reason gdocs drop first space for indented lines
|
||||
|
||||
// strip out all text annotation comments
|
||||
data = data.replace(/^\[a\][\S\s]*/m, '');
|
||||
|
|
|
|||
Loading…
Reference in a new issue