Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ npm-debug.log
node_modules
.DS_Store

temp
temp
coverage/
bower_components/
2 changes: 1 addition & 1 deletion .jshintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": true,
"latedef": false,
"newcap": true,
"noarg": true,
"sub": true,
Expand Down
11 changes: 4 additions & 7 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@ module.exports = function (grunt) {
src: 'angular-notify.js'
}
},
jasmine: {
karma: {
unit: {
src: [''],
options: {
specs: 'test/unit/*.js'
}
configFile: 'karma.conf.js'
}
},
copy: {
Expand Down Expand Up @@ -80,6 +77,6 @@ module.exports = function (grunt) {

grunt.registerTask('serve', ['jshint','connect', 'watch']);
grunt.registerTask('build',['ngtemplates','concat','uglify','copy','cssmin']);
grunt.registerTask('test',['build','jasmine']);
grunt.registerTask('test',['build','karma']);

};
};
6 changes: 3 additions & 3 deletions angular-notify.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="cg-notify-message" ng-class="[$classes,
<div class="cg-notify-message" ng-class="[$classes,
$position === 'center' ? 'cg-notify-message-center' : '',
$position === 'left' ? 'cg-notify-message-left' : '',
$position === 'right' ? 'cg-notify-message-right' : '']"
Expand All @@ -9,12 +9,12 @@
</div>

<div ng-show="$messageTemplate" class="cg-notify-message-template">

</div>

<button type="button" class="cg-notify-close" ng-click="$close()">
<span aria-hidden="true">&times;</span>
<span class="cg-notify-sr-only">Close</span>
</button>

</div>
</div>
Loading