Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
feat(core): add ngMaterial global with version info.
Browse files Browse the repository at this point in the history
closes #5202.
  • Loading branch information
jelbourn authored and ThomasBurleson committed Oct 16, 2015
1 parent 0656404 commit 275e604
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gulp/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function buildJs () {
.pipe(concat('angular-material.js'))
.pipe(BUILD_MODE.transform())
.pipe(insert.prepend(config.banner))
.pipe(insert.append('window.ngMaterial={version:{full: "' + VERSION +'"}}'))

This comment has been minimized.

Copy link
@osv

osv Oct 16, 2015

This broke uglify task of grunt

.pipe(gulp.dest(config.outputDir))
.pipe(gulpif(!IS_DEV, uglify({ preserveComments: 'some' })))
.pipe(rename({ extname: '.min.js' }))
Expand Down

0 comments on commit 275e604

Please sign in to comment.