Thank you for this info, I'll try that on my side, for the moment I did not 
upgrade angular

Le samedi 6 septembre 2014 00:04:21 UTC+2, osxhacker a écrit :
>
> Hi Jean-Yves,
>
> I ran into this problem today as well and was able to get past it by 
> applying two edits:
>
> 1 - Update the "var csp = function() { ... }" definition to check for the 
> existence of document.querySelector before using it unconditionally.  The 
> change I did was:
>
>   var active = !!(document.querySelector && (
>   document.querySelector('[ng-csp]') ||
>                   document.querySelector('[data-ng-csp]')
>   ));
>
>
> 2 - Update the has map returned by the "function urlResolve (...) { ... }" 
> definition to replace the "pathname" check to be "((urlParsingNode.pathname 
> || '').charAt(0) === '/')"
>
>
> I needed to do step #2 in order for Jasmine-based tests to run in SBT, so 
> you may not need that particular edit.
>
> Anyway, this was painful for myself and the team I work with in general to 
> resolve.  Hopefully this helps you out too.
>
>
> On Thursday, August 28, 2014 11:54:12 AM UTC-4, Jean-Yves LEBLEU wrote:
>>
>> I tried to upgrade angularjs to 1.2.23 today, I had tests working with 
>> 1.2.12 not working any more.
>> It works with 1.2.20 et stop working with 1.2.21
>> Jasmine is unable to load angular.js file with the following error : 
>>
>> Could not read file: 
>> ......../proj_services/xucf/xucserver/public/javascripts/angular.js
>>  error was: TypeError: Cannot find function querySelector in object 
>> [object HTMLDocument].
>>
>> Just for info or if someone have an idea.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to