/
githubmirror
/
angular.js
Обзор
Документация
Войти
/
githubmirror
/
angular.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
v1.5.9
src/angular.bind.js
11 строк
329 B
lucienbertin
fix(*): only call console.log when window.console exists
16 фев 2016, 19:00
16 фев 2016, 19:00
7c60e19
Код
Авторство
О чём код?
if (window.angular.bootstrap) { //AngularJS is already loaded, so we can return here... if (window.console) { console.log('WARNING: Tried to load angular more than once.'); } return; } //try to bind to jquery now so that one can write jqLite(document).ready() //but we will rebind on bootstrap again. bindJQuery();