Skip to content

Commit

Permalink
U: add seajs-style
Browse files Browse the repository at this point in the history
  • Loading branch information
lizzie committed Sep 11, 2013
1 parent b0f9477 commit d4f5165
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
7 changes: 5 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,13 @@
<link href="mocha/dist/mocha.css" type="text/css" rel="stylesheet" charset="utf-8">
<script src="mocha/dist/mocha.js"></script>
<script src="sea-modules/seajs/seajs/2.1.1/sea.js"></script>
<script src="sea-modules/seajs/seajs-style/1.0.0/seajs-style.js"></script>
<script src="sea-modules/jquery/jquery/1.7.2/jquery.js"></script>
<script type="text/javascript">
seajs.config({
alias: {
'$': 'jquery/jquery/1.7.2/jquery'
'$': 'jquery/jquery/1.7.2/jquery',
'$-debug': 'jquery/jquery/1.7.2/jquery-debug'
},
map: [
function(url) {
Expand All @@ -38,7 +40,8 @@
'moment', 'mustache',
'sinon', 'store', 'swfobject',
'underscore', 'zepto', 'ztree', 'morris',
'mathjs', 'list', 'zeroclipboard', 'bootstrap'
'mathjs', 'list', 'zeroclipboard', 'bootstrap',
'raphael'
]

var specs = []
Expand Down
2 changes: 1 addition & 1 deletion morris/spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define(function(require) {
var morris = require('./dist/morris-debug');
var morris = require('./dist/morris');
describe('morris', function() {
it('should has EventEmitter method', function() {
expect(morris.EventEmitter).to.be.a('function');
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"spm": {
"engines": {
"jquery": "jquery/jquery/1.7.2/jquery",
"seajs": "seajs/seajs/2.1.1/sea"
"seajs": "seajs/seajs/2.1.1/sea",
"seajs-style": "seajs/seajs-style/1.0.0/seajs-style"
}
}
}
2 changes: 1 addition & 1 deletion ztree/spec.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
define(function(require) {
require('./dist/all');
require('./dist/ztree');
var module = require('$');
describe('jquery ztree', function() {
it('should has zTree object', function() {
Expand Down

0 comments on commit d4f5165

Please sign in to comment.