I have used handelbars.js
in my project and now I want to use Ember.js
also. My problem is that whenever I add the js
files to my site.master
some of my jquery
codes don't work but the others work fine. And when checked it by chrome it says :
'function'
is not defined.
Here is my reference lines:
<script src="/Scripts/jquery-2.0.3.min.js"></script>
<script src="/Content/v2/HM.pagination.js"></script>
<link href="/Content/v2/SiteStyle.min.css" rel="stylesheet" />
<link href="/Content/v2/DLoginStyle.css" rel="stylesheet" />
<link rel="icon" type="image/png" href="favicon.png" />
<script src="/Scripts/handlebars.js" type="text/javascript"></script>
<script src="/Scripts/ember-1.1.2.js" type="text/javascript"></script>
<script src="/Scripts/ember-data.js" type="text/javascript"></script>
<script src="/Scripts/js/Search.js" type="text/javascript"></script>
<script src="/Scripts/jquery.cookie.js" type="text/javascript"></script>
I'm really confused of this problem.