1.0.2 • Published 10 years ago
rocambole-strip-ng-log v1.0.2
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