Closed felipesabino closed 10 years ago
Hi, Have you tried using the latest release of ng-csv ?
As far as I can see, your example is using an old copy that is stored on my github page. I didn't update the example there for a while.
On Thu, May 15, 2014 at 2:05 AM, Felipe Sabino notifications@github.comwrote:
The specification http://tools.ietf.org/html/rfc4180#page-2 says that
Fields containing line breaks (CRLF), double quotes, and commas should be enclosed in double-quotes
But this is currently not being respected: http://jsfiddle.net/8eA6V/1/
— Reply to this email directly or view it on GitHubhttps://github.com/asafdav/ng-csv/issues/25 .
I tried to use the version 0.1.2, and the comma issue still persists.
Any idea?
Got it, will push a fix soon
Can you please check the latest version (master) ?
I'll release it in the next version soon
@asafdav I just replaced the resource in my earlier example fiddle and it does not seem to fire the download anymore: http://jsfiddle.net/8eA6V/2/
Do you know what might be happening? Btw, the script loads fine, as you can clearly see that the elements DOM have changed due to the transclusion...
In this example you use angular 1.1.5 and promise.finally wasn't available back then.
I tried to change the version in your example and it solved it. anyway, I pushed a fix and master should work with angular 1.1.5 as well.
@asafdav the example url is pointing to the master build (using rawgithub) but it still does not trigger the promise, is it working for you?
For some reason the promise is not fulfilled, I'll try looking into it. In the meantime, can you use angular 1.2+ ?
OK, in this version $q.when works only after $scope.$apply, I pushed a fix and your example works now.
The specification says that
But this is currently not being respected: http://jsfiddle.net/8eA6V/1/