Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed example, bumped grunt-lib-phantomjs, checking for trailing slas…

…h on host
  • Loading branch information...
commit 380729b87492d92fc2d8ee8627660e8167fbeed5 1 parent 2069f10
@jsoverson jsoverson authored
Showing with 3 additions and 2 deletions.
  1. +1 −1  docs/jasmine-examples.md
  2. +1 −1  package.json
  3. +1 −0  tasks/jasmine.js
View
2  docs/jasmine-examples.md
@@ -29,7 +29,7 @@ grunt.initConfig({
src: 'src/**/*.js',
options: {
specs: 'spec/*Spec.js',
- helpers: 'spec/*Helper.js'
+ helpers: 'spec/*Helper.js',
template: 'custom.tmpl'
}
}
View
2  package.json
@@ -28,7 +28,7 @@
"test": "grunt test"
},
"dependencies": {
- "grunt-lib-phantomjs": "~0.2.0",
+ "grunt-lib-phantomjs": "~0.3.0",
"rimraf": "~2.0.3"
},
"devDependencies": {
View
1  tasks/jasmine.js
@@ -80,6 +80,7 @@ module.exports = function(grunt) {
var file = options.outfile;
if (options.host) {
+ if (!(/\/$/).test(options.host)) options.host = options.host + '/';
file = options.host + options.outfile;
}
Please sign in to comment.
Something went wrong with that request. Please try again.