Minor fixes from previous pull request reviews.

This commit is contained in:
Emanuel Schütze 2017-02-21 15:45:43 +01:00
parent 4d3a45c8fb
commit e1075eb24d
2 changed files with 2 additions and 4 deletions

View File

@ -242,8 +242,7 @@ gulp.task('watch', ['js', 'templates', 'pdf-worker'], function () {
gulp.task('pot', function () { gulp.task('pot', function () {
return gulp.src([ return gulp.src([
'openslides/core/static/templates/*.html', 'openslides/core/static/templates/*.html',
'openslides/*/static/templates/*/*.html', 'openslides/*/static/templates/**/*.html',
'openslides/*/static/templates/*/*/*.html',
'openslides/*/static/js/*/*.js', 'openslides/*/static/js/*/*.js',
]) ])
.pipe(gettext.extract('template-en.pot', {})) .pipe(gettext.extract('template-en.pot', {}))

View File

@ -192,7 +192,6 @@ angular.module('OpenSlidesApp.motions', [
.factory('Motion', [ .factory('Motion', [
'DS', 'DS',
'$http', '$http',
'$filter',
'MotionPoll', 'MotionPoll',
'MotionChangeRecommendation', 'MotionChangeRecommendation',
'MotionComment', 'MotionComment',
@ -205,7 +204,7 @@ angular.module('OpenSlidesApp.motions', [
'OpenSlidesSettings', 'OpenSlidesSettings',
'Projector', 'Projector',
'operator', 'operator',
function(DS, $http, $filter, MotionPoll, MotionChangeRecommendation, MotionComment, jsDataModel, gettext, gettextCatalog, function(DS, $http, MotionPoll, MotionChangeRecommendation, MotionComment, jsDataModel, gettext, gettextCatalog,
Config, lineNumberingService, diffService, OpenSlidesSettings, Projector, operator) { Config, lineNumberingService, diffService, OpenSlidesSettings, Projector, operator) {
var name = 'motions/motion'; var name = 'motions/motion';
return DS.defineResource({ return DS.defineResource({