Skip to content

Commit a14cf02

Browse files
committed
docs(unassertify): refine catch phrase since unassertify removes assertions every time
1 parent c3c1677 commit a14cf02

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
unassertify
22
================================
33

4-
[Browserify](http://browserify.org/) transform to remove assertions on production build. Encourages Design by Contract (DbC).
4+
[Browserify](http://browserify.org/) transform to remove assertions from code. Encourages Design by Contract (DbC).
55

66
[![Build Status][travis-image]][travis-url]
77
[![NPM version][npm-image]][npm-url]
@@ -43,7 +43,7 @@ var glob = require('glob'),
4343

4444
gulp.task('production_build', function() {
4545
var files = glob.sync('./src/*.js');
46-
var b = browserify({entries: files, debug: false});
46+
var b = browserify({entries: files});
4747
b.transform('unassertify');
4848
return b.bundle()
4949
.pipe(source('bundle.js'))

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* unassertify
3-
* Browserify transform to remove assertions on production build
3+
* Browserify transform to remove assertions from code to encourage Design by Contract (DbC)
44
*
55
* https://github.com/twada/unassertify
66
*

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "unassertify",
3-
"description": "Browserify transform to remove assertions on production build",
3+
"description": "Browserify transform to remove assertions from code to encourage Design by Contract (DbC)",
44
"version": "1.0.2",
55
"author": {
66
"name": "Takuto Wada",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy