Skip to content

Commit

Permalink
added matchHeight.version property
Browse files Browse the repository at this point in the history
  • Loading branch information
liabru committed Nov 8, 2015
1 parent a89b1c2 commit 431e4d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ var gulpBump = require('gulp-bump');
var changelog = require('gulp-conventional-changelog');
var tag = require('gulp-tag-version');
var sequence = require('run-sequence');
var replace = require('gulp-replace');
var webdriver = require('gulp-webdriver');
var webserver = require('gulp-webserver');
var selenium = require('selenium-standalone');
Expand All @@ -26,6 +27,7 @@ gulp.task('release', function(callback) {

gulp.task('build', function() {
return gulp.src(pkg.main)
.pipe(replace("version = 'master'", "version = '" + pkg.version + "'"))
.pipe(uglify())
.pipe(header(banner, { pkg: pkg }))
.pipe(rename({ suffix: '-min' }))
Expand Down
1 change: 1 addition & 0 deletions jquery.matchHeight.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@
* plugin global options
*/

matchHeight.version = 'master';
matchHeight._groups = [];
matchHeight._throttle = 80;
matchHeight._maintainScroll = false;
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,18 @@
"devDependencies": {
"gulp": "^3.9.0",
"gulp-browserstack": "^1.0.0",
"gulp-bump": "^1.0.0",
"gulp-eslint": "^1.0.0",
"gulp-header": "^1.7.1",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.4",
"gulp-tag-version": "^1.3.0",
"gulp-uglify": "^1.4.2",
"gulp-webdriver": "^1.0.1",
"gulp-webserver": "^0.9.1",
"jasmine": "^2.3.2",
"run-sequence": "^1.1.4",
"selenium-standalone": "^4.7.0",
"webdriverio": "^3.2.5",
"gulp-bump": "^1.0.0"
"webdriverio": "^3.2.5"
}
}

0 comments on commit 431e4d0

Please sign in to comment.