Skip to content

Commit

Permalink
feat(build): add version to production warning
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksueiR committed Jun 15, 2015
1 parent 8c3f30a commit 21a2f2c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions grunt/options/pkg.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,19 @@ module.exports = (grunt, options)->
# not for production warning corner ribbon html
pkg.nfp.body = '<!-- R-NFP:S -->
<div class="github-fork-ribbon-wrapper left">
<div class="github-fork-ribbon">
<a href="">Not for Production</a>
<div class="github-fork-ribbon" style="top: 34px; left: -50px">
<a href="" style="width: 210px; line-height: 27px">
<span style="
top: -6px;
position: relative;
">Not for Production</span><br> <span style="
top: 11px;
position: absolute;
left: 39%;
font-size: smaller;
font-weight: normal;
">v' + pkg.core.version + '</span>
</a>
</div>
</div><!-- R-NFP:E -->'

Expand Down

0 comments on commit 21a2f2c

Please sign in to comment.