AngularJS内容并不总是出现,随机显示

时间:2014-07-17 20:00:44

标签: javascript html angularjs

我有一堆Angular JS内容,当它出现时大部分工作正常。然而,有时,当我刷新页面时,所有这些都消失了,似乎AngularJS突然停止工作。在此之后,我尝试刷新页面几次,点击几下后,它终于回来了。但是,如果我在此之后再次尝试刷新,则会发生与之前相同的情况。

我不确定我能给你的哪些相关信息,所以如果你想看代码,请告诉我。

编辑:

我认为可以获得帮助的一些东西: 1)以前有谁发生过类似的事吗? 2)在HTML文档中放置angularJS脚本是否会产生影响?


编辑:

以下是内容未显示的警告:

13:38:38.499 Unknown pseudo-class or pseudo-element '-webkit-inner-spin-button'.  
Ruleset ignored due to bad selector. bootstrap.css:153
13:38:38.499 Unknown pseudo-class or pseudo-element '-webkit-search-cancel-button'.  Ruleset ignored due to bad selector. bootstrap.css:163
13:38:38.500 Unknown property '-moz-osx-font-smoothing'.  Declaration dropped. bootstrap.css:279
13:38:38.501 Expected color but found 'auto'.  Expected color but found '-webkit-focus-ring-color'.  Expected end of value but found '-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration dropped. bootstrap.css:923
13:38:38.501 Expected end of value but found '\9 '.  Error in parsing value for 'width'.  Declaration dropped. bootstrap.css:938
13:38:38.501 Expected end of value but found '\9 '.  Error in parsing value for 'width'.  Declaration dropped. bootstrap.css:947
13:38:38.502 Expected end of value but found '\9 '.  Error in parsing value for 'margin-top'.  Declaration dropped. bootstrap.css:2325
13:38:38.502 Expected color but found 'auto'.  Expected color but found '-webkit-focus-ring-color'.  Expected end of value but found '-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration dropped. bootstrap.css:2343
13:38:38.502 Unknown pseudo-class or pseudo-element '-ms-input-placeholder'.  Ruleset ignored due to bad selector. bootstrap.css:2381
13:38:38.502 Unknown pseudo-class or pseudo-element '-webkit-input-placeholder'.  Ruleset ignored due to bad selector. bootstrap.css:2384
13:38:38.502 Expected end of value but found '�'.  Error in parsing value for 'line-height'.  Declaration dropped. bootstrap.css:2405
13:38:38.502 Expected end of value but found '\9 '.  Error in parsing value for 'margin-top'.  Declaration dropped. bootstrap.css:2442
13:38:38.503 Unknown property 'user-select'.  Declaration dropped. bootstrap.css:2737
13:38:38.503 Expected color but found 'auto'.  Expected color but found '-webkit-focus-ring-color'.  Expected end of value but found '-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration dropped. bootstrap.css:2746
13:38:38.503 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:2766
13:38:38.503 Expected 'none' or URL but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:3194
13:38:38.503 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:3420
13:38:38.504 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4736
13:38:38.504 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4737
13:38:38.504 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4764
13:38:38.504 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4765
13:38:38.504 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4772
13:38:38.504 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4773
13:38:38.504 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4780
13:38:38.505 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4781
13:38:38.505 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4788
13:38:38.505 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4789
13:38:38.505 Unknown property 'zoom'.  Declaration dropped. bootstrap.css:4795
13:38:38.505 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5357
13:38:38.505 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5365
13:38:38.505 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5434
13:38:38.505 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5438
13:38:38.505 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5504
13:38:38.505 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5508
13:38:38.506 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5774
13:38:38.506 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:5778
13:38:38.506 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:5779
13:38:38.506 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:5780
13:38:38.506 Expected 'none' or URL but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5782
13:38:38.506 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:5788
13:38:38.506 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:5789
13:38:38.506 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:5790
13:38:38.506 Expected 'none' or URL but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5792
13:38:38.506 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5799
13:38:38.506 Expected end of value but found '\9 '.  Error in parsing value for 'background-color'.  Declaration dropped. bootstrap.css:5853
13:38:38.564 GET http://code.jquery.com/jquery-2.1.1.min.js [HTTP/1.0 304 Not Modified 452ms]
13:38:38.564 GET https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.15/angular.min.js [HTTP/1.0 200 Connection established 156ms]
13:38:39.153 Error: https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.15/angular.min.js is being assigned a //# sourceMappingURL, but already has one
13:38:39.160 Unknown property '-moz-border-radius'.  Declaration dropped. summary_page.html:29

以下是内容出现时的警告:

13:41:21.953 Unknown pseudo-class or pseudo-element '-webkit-inner-spin-button'.  Ruleset ignored due to bad selector. bootstrap.css:153
13:41:21.953 Unknown pseudo-class or pseudo-element '-webkit-search-cancel-button'.  Ruleset ignored due to bad selector. bootstrap.css:163
13:41:21.953 Unknown property '-moz-osx-font-smoothing'.  Declaration dropped. bootstrap.css:279
13:41:21.955 Expected color but found 'auto'.  Expected color but found '-webkit-focus-ring-color'.  Expected end of value but found '-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration dropped. bootstrap.css:923
13:41:21.955 Expected end of value but found '\9 '.  Error in parsing value for 'width'.  Declaration dropped. bootstrap.css:938
13:41:21.955 Expected end of value but found '\9 '.  Error in parsing value for 'width'.  Declaration dropped. bootstrap.css:947
13:41:21.957 Expected end of value but found '\9 '.  Error in parsing value for 'margin-top'.  Declaration dropped. bootstrap.css:2325
13:41:21.957 Expected color but found 'auto'.  Expected color but found '-webkit-focus-ring-color'.  Expected end of value but found '-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration dropped. bootstrap.css:2343
13:41:21.957 Unknown pseudo-class or pseudo-element '-ms-input-placeholder'.  Ruleset ignored due to bad selector. bootstrap.css:2381
13:41:21.958 Unknown pseudo-class or pseudo-element '-webkit-input-placeholder'.  Ruleset ignored due to bad selector. bootstrap.css:2384
13:41:21.958 Expected end of value but found '�'.  Error in parsing value for 'line-height'.  Declaration dropped. bootstrap.css:2405
13:41:21.958 Expected end of value but found '\9 '.  Error in parsing value for 'margin-top'.  Declaration dropped. bootstrap.css:2442
13:41:21.958 Unknown property 'user-select'.  Declaration dropped. bootstrap.css:2737
13:41:21.958 Expected color but found 'auto'.  Expected color but found '-webkit-focus-ring-color'.  Expected end of value but found '-webkit-focus-ring-color'.  Error in parsing value for 'outline'.  Declaration dropped. bootstrap.css:2746
13:41:21.958 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:2766
13:41:21.959 Expected 'none' or URL but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:3194
13:41:21.960 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:3420
13:41:21.963 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4736
13:41:21.963 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4737
13:41:21.963 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4764
13:41:21.963 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4765
13:41:21.963 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4772
13:41:21.963 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4773
13:41:21.963 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4780
13:41:21.963 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4781
13:41:21.963 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4788
13:41:21.963 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:4789
13:41:21.963 Unknown property 'zoom'.  Declaration dropped. bootstrap.css:4795
13:41:21.964 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5357
13:41:21.964 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5365
13:41:21.965 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5434
13:41:21.965 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5438
13:41:21.965 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5504
13:41:21.965 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5508
13:41:21.965 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5774
13:41:21.965 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:5778
13:41:21.965 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:5779
13:41:21.965 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:5780
13:41:21.966 Expected 'none' or URL but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5782
13:41:21.966 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:5788
13:41:21.966 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:5789
13:41:21.966 Error in parsing value for 'background-image'.  Declaration dropped. bootstrap.css:5790
13:41:21.966 Expected 'none' or URL but found 'progid'.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5792
13:41:21.966 Expected 'none' or URL but found 'alpha('.  Error in parsing value for 'filter'.  Declaration dropped. bootstrap.css:5799
13:41:21.966 Expected end of value but found '\9 '.  Error in parsing value for 'background-color'.  Declaration dropped. bootstrap.css:5853
13:41:22.010 GET http://code.jquery.com/jquery-2.1.1.min.js [HTTP/1.0 304 Not Modified 31ms]
13:41:22.010 GET https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.15/angular.min.js [HTTP/1.1 304 Not Modified 47ms]
13:41:22.282 Error: https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.15/angular.min.js is being assigned a //# sourceMappingURL, but already has one
13:41:22.290 Unknown property '-moz-border-radius'.  Declaration dropped. summary_page.html:29

0 个答案:

没有答案