Skip to content

Commit

Permalink
Repositioning the jquery <script> tag
Browse files Browse the repository at this point in the history
When i tried to run the template view example, the console.log gave me the next error:
"Uncaught TypeError: Property '$' of object #<Object> is not a function"

This happened because you had the jquery scrip tag on a wrong position, just below of backbone.min.js script tag.
Now i have changing the position, juts above of underscore-min.js script tag
  • Loading branch information
xfry committed Mar 15, 2013
1 parent 29fc0c9 commit de6ae6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/02-fundamentals.md
Expand Up @@ -91,9 +91,9 @@ Our example will need a div element to which we can attach a list of Todo's. It
<%- title %>
</div>
</script>
<script src="jquery-min.js"></script>
<script src="underscore-min.js"></script>
<script src="backbone-min.js"></script>
<script src="jquery-min.js"></script>
<script src="example.js"></script>
</body>
</html>
Expand Down

0 comments on commit de6ae6a

Please sign in to comment.