1.0.2 • Published 9 years ago

rocambole-strip-ng-log v1.0.2

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
9 years ago

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