This repository was archived by the owner on Sep 8, 2020. It is now read-only.
File tree 9 files changed +82
-55
lines changed
9 files changed +82
-55
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "directory": "bower_components"
3
+ }
Original file line number Diff line number Diff line change
1
+ .idea
2
+ coverage
1
3
node_modules /
2
- bower_components /
4
+ bower_components /
5
+ * .iml
Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
- - " 0.8"
3
+ - " 0.10"
4
+
5
+ branches :
6
+ except :
7
+ - gh-pages
4
8
5
9
before_install :
6
- - export DISPLAY=:99.0
7
- - sh -e /etc/init.d/xvfb start
10
+ - " export DISPLAY=:99.0"
11
+ - " sh -e /etc/init.d/xvfb start"
12
+
13
+ before_script :
8
14
- npm install -g bower grunt-cli
9
- - npm install
10
15
- bower install
11
16
12
- script : " grunt"
17
+ script : " grunt --verbose "
Original file line number Diff line number Diff line change 1
- # ui-calendar directive [ ![ Build Status] ( https://travis-ci.org/angular-ui /ui-calendar.png )] ( https://travis-ci.org/angular-ui /ui-calendar )
1
+ # ui-calendar directive [ ![ Build Status] ( https://travis-ci.org/dalelotts /ui-calendar.png?branch=master )] ( https://travis-ci.org/dalelotts /ui-calendar )
2
2
3
3
A complete AngularJS directive for the Arshaw FullCalendar.
4
4
Original file line number Diff line number Diff line change 1
- {
2
- "name" : " angular-ui-calendar" ,
3
- "version" : " 0.1.3" ,
4
- "description" : " A complete AngularJS directive for the Arshaw FullCalendar." ,
5
- "author" : " https://github.com/angular-ui/ui-calendar/graphs/contributors" ,
6
- "license" : " MIT" ,
7
- "homepage" : " http://angular-ui.github.com" ,
8
- "main" : " ./ui-calendar.js" ,
9
- "ignore" : [
10
- " **/.*" ,
11
- " node_modules" ,
12
- " components " ,
13
- " test*" ,
14
- " demo*" ,
15
- " gruntFile.js" ,
16
- " package.json"
17
- ],
18
- "dependencies" : {
19
- "angular" : " ~1.x" ,
20
- "jquery" : " ~1.x" ,
21
- "jquery-ui" : " 1.9 .2" ,
22
- "fullcalendar" : " ~1.x"
23
- },
24
- "devDependencies" : {
25
- "angular-mocks" : " ~1.x" ,
26
- "bootstrap-css" : " 2.3.1"
27
- }
28
- }
1
+ {
2
+ "name" : " angular-ui-calendar" ,
3
+ "version" : " 0.1.3" ,
4
+ "description" : " A complete AngularJS directive for the Arshaw FullCalendar." ,
5
+ "author" : " https://github.com/angular-ui/ui-calendar/graphs/contributors" ,
6
+ "license" : " MIT" ,
7
+ "homepage" : " http://angular-ui.github.com" ,
8
+ "main" : " ./ui-calendar.js" ,
9
+ "ignore" : [
10
+ " **/.*" ,
11
+ " node_modules" ,
12
+ " bower_components " ,
13
+ " test*" ,
14
+ " demo*" ,
15
+ " gruntFile.js" ,
16
+ " package.json"
17
+ ],
18
+ "dependencies" : {
19
+ "angular" : " ~1.x" ,
20
+ "jquery" : " ~1.x" ,
21
+ "jquery-ui" : " 1.10 .2" ,
22
+ "fullcalendar" : " ~1.x"
23
+ },
24
+ "devDependencies" : {
25
+ "angular-mocks" : " ~1.x" ,
26
+ "bootstrap-css" : " 2.3.1"
27
+ }
28
+ }
Original file line number Diff line number Diff line change 8
8
< link rel ="stylesheet " href ="calendarDemo.css " />
9
9
10
10
< script src ="../bower_components/jquery/jquery.js "> </ script >
11
- < script src ="../bower_components/jquery-ui/ui/jquery-ui.js "> </ script >
12
11
12
+ < script src ="../bower_components/jquery-ui/ui/jquery.ui.core.js "> </ script >
13
+ < script src ="../bower_components/jquery-ui/ui/jquery.ui.widget.js "> </ script >
14
+ < script src ="../bower_components/jquery-ui/ui/jquery.ui.mouse.js "> </ script >
15
+ < script src ="../bower_components/jquery-ui/ui/jquery.ui.draggable.js "> </ script >
16
+ < script src ="../bower_components/jquery-ui/ui/jquery.ui.droppable.js "> </ script >
13
17
< script src ="../bower_components/angular/angular.js "> </ script >
14
18
< script src ="../bower_components/fullcalendar/fullcalendar.js "> </ script >
15
19
< script src ="../bower_components/fullcalendar/gcal.js "> </ script >
Original file line number Diff line number Diff line change 1
1
module . exports = function ( grunt ) {
2
+ "use strict" ;
2
3
3
- grunt . loadNpmTasks ( 'grunt-testacular' ) ;
4
- grunt . loadNpmTasks ( 'grunt-contrib-jshint' ) ;
4
+ // load all grunt tasks
5
+ require ( 'matchdep' ) . filterDev ( 'grunt-*' ) . forEach ( grunt . loadNpmTasks ) ;
5
6
6
7
// Default task.
7
- grunt . registerTask ( 'default' , [ 'jshint' , 'testacular ' ] ) ;
8
+ grunt . registerTask ( 'default' , [ 'jshint' , 'karma ' ] ) ;
8
9
9
- var testacularConfig = function ( configFile , customOptions ) {
10
+ var testConfig = function ( configFile , customOptions ) {
10
11
var options = { configFile : configFile , keepalive : true } ;
11
12
var travisOptions = process . env . TRAVIS && { browsers : [ 'Firefox' ] , reporters : 'dots' } ;
12
13
return grunt . util . _ . extend ( options , customOptions , travisOptions ) ;
13
14
} ;
14
15
15
16
// Project configuration.
16
17
grunt . initConfig ( {
17
- testacular : {
18
+ karma : {
18
19
unit : {
19
- options : testacularConfig ( 'test/test.conf.js' )
20
+ options : testConfig ( 'test/test.conf.js' )
20
21
}
21
22
} ,
22
23
jshint :{
Original file line number Diff line number Diff line change 9
9
"dependencies" : {},
10
10
"devDependencies" : {
11
11
"grunt" : " ~0.4.1" ,
12
- "grunt-testacular" : " ~0.3.0" ,
13
- "grunt-contrib-jshint" : " ~0.2.0"
12
+ "grunt-karma" : " ~0.4.3" ,
13
+ "grunt-contrib-jshint" : " ~0.2.0" ,
14
+ "matchdep" : " ~0.1.1"
14
15
},
15
- "scripts" : {},
16
+ "scripts" : {"test" : " grunt " },
16
17
"repository" : {
17
18
"type" : " git" ,
18
19
"url" : " git://github.com/angular-ui/ui-calendar.git"
Original file line number Diff line number Diff line change 1
1
basePath = '..' ;
2
2
files = [
3
- JASMINE ,
4
- JASMINE_ADAPTER ,
5
- 'bower_components/jquery/jquery.js' ,
6
- 'bower_components/jquery-ui/ui/jquery-ui .js' ,
7
- 'bower_components/angular/angular.js' ,
8
- 'bower_components/angular-mocks/angular-mocks.js' ,
9
- 'bower_components/fullcalendar/fullcalendar.js' ,
10
- 'src/calendar.js' ,
11
- 'test/*.spec.js'
3
+ JASMINE ,
4
+ JASMINE_ADAPTER ,
5
+ 'bower_components/jquery/jquery.js' ,
6
+ 'bower_components/jquery-ui/ui/* .js' ,
7
+ 'bower_components/angular/angular.js' ,
8
+ 'bower_components/angular-mocks/angular-mocks.js' ,
9
+ 'bower_components/fullcalendar/fullcalendar.js' ,
10
+ 'src/calendar.js' ,
11
+ 'test/*.spec.js'
12
12
] ;
13
+
13
14
singleRun = true ;
14
- browsers = [ ] ;
15
+
16
+ browsers = [ 'Chrome' ] ;
17
+
18
+ preprocessors = {
19
+ '**/src/*.js' : 'coverage'
20
+ } ;
21
+
22
+ // test results reporter to use
23
+ // possible values: 'dots', 'progress', 'junit'
24
+ reporters = [ 'progress' , 'coverage' ] ;
You can’t perform that action at this time.
0 commit comments