Permalink
Browse files

add combo support

  • Loading branch information...
1 parent a32fb0f commit 9f47d702bf1d3ac589d0177962747c315abf852d @lepture lepture committed Apr 9, 2013
Showing with 5 additions and 2 deletions.
  1. +5 −2 templates/snippet/head.html
View
7 templates/snippet/head.html
@@ -31,7 +31,7 @@
{%- if config.debug %}
<script src="{{content_url('')}}/sea-modules/seajs/seajs/2.0.0/sea.js"></script>
{%- else %}
-<script src="http://assets.spmjs.org/seajs/seajs/2.0.0/sea.js"></script>
+<script src="http://assets.spmjs.org/seajs/seajs/2.0.0/??sea.js,plugin-combo.js"></script>
{%- endif %}
{%- endif %}
@@ -46,7 +46,10 @@
mocha: "gallery/mocha/1.9.0/mocha",
expect: "gallery/expect/0.2.0/expect",
sinon: "gallery/sinon/1.6.0/sinon"
- }
+ },
+ comboExcludes: {test: function(uri) {
+ return !/\d+\.\d+\.\d+\/\w/.test(uri);
+ }}
});
var query = location.search;

0 comments on commit 9f47d70

Please sign in to comment.