Permalink
Browse files

Merge pull request #228 from ralphholzmann/canjs-cdn

Updating CanJS script references to new cdn.
  • Loading branch information...
sindresorhus committed Jul 16, 2012
2 parents b48b22f + fbb04ed commit 5af7096ecd43e736d6f0b0113d07100291d9cabc
@@ -1,7 +1,7 @@
require({
packages: [{
name: "can/dojo",
- location: "http://donejs.com/can/dist/edge/",
+ location: "http://canjs.us/release/latest/",
main: "can.dojo"
}]
}, ['can/dojo',
@@ -275,4 +275,4 @@ Todo.findAll({}, function(todos) {
});
});
-});
+});
@@ -1,7 +1,7 @@
require({
packages: [{
name: "can/dojo",
- location: "http://donejs.com/can/dist/edge/",
+ location: "http://canjs.us/release/latest/",
main: "can.dojo"
}]
}, ['can/dojo',
@@ -199,4 +199,4 @@ Todo.findAll({}, function(todos) {
});
});
-});
+});
@@ -30,7 +30,7 @@ <h1>Todos</h1>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>
<script src="jquery.ui.core.js"></script>
<script src="jquery.ui.datepicker.js"></script>
- <script src="http://donejs.com/can/dist/edge/can.jquery.js"></script>
+ <script src="http://canjs.us/release/latest/can.jquery.js"></script>
<script src="todo.js"></script>
</body>
-</html>
+</html>
@@ -25,7 +25,7 @@ <h1>Todos</h1>
</div>
<script src="http://ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>
- <script src="http://donejs.com/can/dist/edge/can.jquery.js"></script>
+ <script src="http://canjs.us/release/latest/can.jquery.js"></script>
<script src="todo.js"></script>
</body>
-</html>
+</html>
@@ -25,7 +25,7 @@ <h1>Todos</h1>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.3/mootools.js"></script>
<script src="mootools-more-event_pseudos-1.4.0.1.js"></script>
- <script src="http://donejs.com/can/dist/edge/can.mootools.js"></script>
+ <script src="http://canjs.us/release/latest/can.mootools.js"></script>
<script src="todo.js"></script>
</body>
-</html>
+</html>
@@ -26,7 +26,7 @@ <h1>Todos</h1>
</div>
<div id="calendar"></div>
<script src="http://yui.yahooapis.com/3.4.1/build/yui/yui-min.js"></script>
- <script src="http://donejs.com/can/dist/edge/can.yui.js"></script>
+ <script src="http://canjs.us/release/latest/can.yui.js"></script>
<script src="todo.js"></script>
</body>
-</html>
+</html>
@@ -24,7 +24,7 @@ <h1>Todos</h1>
<p>Part of <a href="http://todomvc.com">TodoMVC</a>.</p>
</div>
<script src="http://yui.yahooapis.com/3.4.1/build/yui/yui.js"></script>
- <script src="http://donejs.com/can/dist/edge/can.yui.js"></script>
+ <script src="http://canjs.us/release/latest/can.yui.js"></script>
<script src="todo.js"></script>
</body>
-</html>
+</html>
@@ -26,7 +26,7 @@ <h1>Todos</h1>
https://github.com/madrobby/zepto/commit/ab2a3ef0d18beaf768903f0943efd019a29803f0
-->
<script src="zepto.0.8-focusblur.js"></script>
- <script src="http://donejs.com/can/dist/edge/can.zepto.js"></script>
+ <script src="http://canjs.us/release/latest/can.zepto.js"></script>
<script src="todo.js"></script>
</body>
-</html>
+</html>

0 comments on commit 5af7096

Please sign in to comment.