2015-04-06 3 views
0

Получая следующее сообщение об ошибке в консоли разработчика, при загрузке страницы:toastr не определен

неперехваченного ReferenceError: toastr не определен

Вот HTML содержания. Может кто-нибудь, пожалуйста, объясните мне, почему toastr не определено?

<!DOCTYPE html> 
 
<html xmlns="http://www.w3.org/1999/xhtml"> 
 

 
<head> 
 
    <link rel="stylesheet" href="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css"> 
 
</head> 
 

 
<body> 
 
    <p>Toastr TEST</p> 
 
    <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"> 
 
    </script> 
 
    <script scr="http://cdnjs.cloudflare.com/ajax/libs/toastr.js/2.0.2/js/toastr.min.js"> 
 
    </script> 
 
    <script> 
 
    $(document).ready(function() { 
 
     console.log("document.ready"); 
 
     toastr.info('document.ready'); 
 
    }); 
 

 
    $(window).load(function() { 
 
     console.log("window.load"); 
 
     toastr.info('window.load'); 
 
    }); 
 
    </script> 
 
</body> 
 

 
</html>

+1

Почему бы не включить '

Смежные вопросы