npm.io
1.0.2 • Published 11 years ago

rocambole-strip-ng-log

Licence
Apache-2.0
Version
1.0.2
Deps
1
Vulns
0
Weekly
0
DeprecatedThis package is deprecated

rocambole-strip-ng-log

Strip angular js $log statements from a rocambole.

Inspired by rocambole-strip-console

Install

npm install --save rocambole-strip-ng-log

Usage

var rocambole = require('rocambole');
var stripNgLog = require('rocambole-strip-ng-log');

rocambole.moonwalk(
    'angular.module("MyModule").run(function($log) {$log.log("Log message");});', 
    stripNgLog(config)
).toString();

License

Apache 2.0 License Nicholas Daley

Keywords