diff options
| author | Vojta Jina | 2011-06-07 22:21:01 +0200 | 
|---|---|---|
| committer | Igor Minar | 2011-06-07 14:56:56 -0700 | 
| commit | e670a812fa85dd6a63b0d128815f9c0682ffd177 (patch) | |
| tree | a551e93c33d98369bad3a1eb2606d61e8c0761d0 /gdocs.js | |
| parent | 517ada2662019aae99af4bffb0e7fc673bbe9ebd (diff) | |
| download | angular.js-e670a812fa85dd6a63b0d128815f9c0682ffd177.tar.bz2 | |
Remove removing old comments from gdocs
There were two places where we were removing old comments from google docs:
* gdocs.js fetching script
* docs/src/reader.js
Diffstat (limited to 'gdocs.js')
| -rwxr-xr-x | gdocs.js | 6 | 
1 files changed, 0 insertions, 6 deletions
| @@ -73,12 +73,6 @@ function download(collection, name, url) {          data = data.replace('\ufeff', '');          data = data.replace(/\r\n/mg, '\n'); -        // strip out all text annotation comments -        data = data.replace(/^\[a\][\S\s]*/m, ''); - -        // strip out all text annotations -        data = data.replace(/\[\w{1,3}\]/mg, ''); -          // strip out all docos comments          data = data.replace(/^[^\s_]+:\n\S+[\S\s]*$/m, '') | 
