Comparing version 0.2.1 to 0.2.2
# ChangeLog | ||
## v0.2.2 (6th March 2014) | ||
**Bug fixes** | ||
* fix(doc-processor): pass docs to next processor following a failure 67997e8e | ||
## v0.2.1 (5th March 2014) | ||
Bug fixes | ||
**Bug fixes** | ||
@@ -11,10 +18,16 @@ * fix(doc-processor): handle errors thrown in processors better | ||
Breaking Changes | ||
**New Features** | ||
* extractTagFactory (lib/extract-tags.js) is moved to the dgeni-packages project. | ||
**BREAKING CHANGE** | ||
* The extractTagsFactory is now moved to the dgeni-packages | ||
project, because it is specific to the way that tags are parsed and extracted | ||
in that project. If you rely on this then you should add dgeni-packages | ||
as a dependency to your project. | ||
## v0.1.1 (24th February 2014) | ||
Bug fixes | ||
**Bug fixes** | ||
@@ -21,0 +34,0 @@ * allow defaultFn to return falsy values [3b2e098dc92b](https://github.com/angular/dgeni/commit/3b2e098dc92b7f9766aaf03f2d7815c6fb4862e3) |
@@ -124,2 +124,3 @@ var _ = require('lodash'); | ||
log.error(error.stack); | ||
return docs; | ||
} | ||
@@ -126,0 +127,0 @@ }); |
{ | ||
"name": "dgeni", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Flexible JavaScript documentation generator used by AngularJS", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -119,2 +119,23 @@ var Q = require('q'); | ||
}); | ||
it("should continue to process the subsequent processors after a bad-processor if stopOnError is false", function() { | ||
var testDocs = []; | ||
var checkProcessor = { | ||
name: 'checkProcessor', | ||
process: function(docs) { | ||
expect(docs).toBe(testDocs); | ||
checkProcessor.called = true; | ||
} | ||
}; | ||
process = docProcessorFactory({ | ||
processing: { | ||
stopOnError: false, | ||
processors: [ badProcessor, checkProcessor ] | ||
} | ||
}); | ||
return process(testDocs).finally(function() { | ||
expect(checkProcessor.called).toEqual(true); | ||
}); | ||
}); | ||
}); | ||
@@ -121,0 +142,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50459
1019