-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from TF2Stadium/dev
Version v0.3.2-alpha
- Loading branch information
Showing
17 changed files
with
363 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,10 +25,6 @@ | |
2, | ||
"single" | ||
], | ||
"linebreak-style": [ | ||
2, | ||
"unix" | ||
], | ||
"semi": [ | ||
2, | ||
"always" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ dependencies: | |
test: | ||
override: | ||
- gulp lint | ||
- gulp test | ||
deployment: | ||
master: | ||
branch: master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
'use strict'; | ||
|
||
var path = require('path'); | ||
var runSequence = require('run-sequence'); | ||
var mainBowerFiles = require('main-bower-files'); | ||
var gulp = require('gulp'); | ||
var conf = require('./conf'); | ||
var karma = require('karma'); | ||
|
||
var $ = require('gulp-load-plugins')(); | ||
|
||
gulp.task('test:unit', function (done) { | ||
var server = new karma.Server({ | ||
browsers: ['PhantomJS'], | ||
frameworks: ['mocha', 'chai-sinon'], | ||
files: mainBowerFiles({ includeDev: true }).concat([ | ||
'dist/scripts/app-*.js', | ||
'test/karma/**/*.js' | ||
]), | ||
logLevel: 'DEBUG', | ||
singleRun: true | ||
}); | ||
|
||
server.on('run_complete', function (browsers, results) { | ||
// NB If the argument of done() is not null or not undefined, | ||
// e.g. a string, the next task in a series won't run. | ||
done(results.error ? 'There are test failures' : null); | ||
}); | ||
|
||
server.start(); | ||
}); | ||
|
||
gulp.task('test', function (cb) { | ||
runSequence('build', 'test:unit', cb); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
<div class="settings-section"> | ||
<h1>Theme</h1> | ||
{{settings.current}} | ||
<md-radio-group ng-model="$root.currentTheme" | ||
ng-change="settings.saveSetting('currentTheme', $root.currentTheme)"> | ||
<md-radio-button ng-value="theme.selector" | ||
ng-repeat="theme in settings.sections.theme track by theme.selector"> | ||
<md-radio-button ng-value="theme.selector" | ||
ng-repeat="theme in settings.sections.theme.theme track by theme.selector"> | ||
{{theme.name}} | ||
</md-radio-button> | ||
</md-radio-group> | ||
</div> | ||
|
||
<h1>Chat</h1> | ||
<h2>Timestamps</h2> | ||
<md-radio-group | ||
ng-model="$root.currentTimestampsOption" | ||
ng-change="settings.saveSetting('timestamps', $root.currentTimestampsOption)"> | ||
<md-radio-button | ||
ng-repeat="(key, opt) in settings.sections.theme.timestamps track by opt.name" | ||
ng-value="key"> | ||
{{opt.name}} | ||
</md-radio-button> | ||
</md-radio-group> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.