fix line length, run jscs & jshint in precommit

This commit is contained in:
Dan Cech 2017-12-28 16:35:13 -05:00
parent 3ddb65fc8b
commit da9e1a7e98
No known key found for this signature in database
GPG Key ID: 6F1146C5B66FBD41
2 changed files with 4 additions and 1 deletions

View File

@ -265,7 +265,8 @@ function (angular, _, $, rst2html) {
element: e.target,
position: 'bottom left',
classNames: 'drop-popover drop-function-def',
template: '<div style="overflow:auto;max-height:30rem;"><h4>' + funcDef.name + '</h4>' + rst2html(funcDef.description) + '</div>',
template: '<div style="overflow:auto;max-height:30rem;">'
+ '<h4>' + funcDef.name + '</h4>' + rst2html(funcDef.description) + '</div>',
openOn: 'click',
});
} else {

View File

@ -20,6 +20,8 @@ module.exports = function(grunt) {
]);
grunt.registerTask('precommit', [
'jscs',
'jshint',
'sasslint',
'exec:tslint',
'no-only-tests'