You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we a cjs js-patch that needs to require the original class, the app-deps command fails with an error such as
java.lang.RuntimeException: Attempt to map '../../libs/javascript/br/presenter/node/Field.js' to '../../libs/javascript/br/presenter/node/Field.js'.
Example of offending patch:
var Field = require('br/presenter/node/Field');
var WritableProperty = require('br/presenter/property/WritableProperty');
var topiarist = require('topiarist');
function FieldPatch(vValue) {
// PATCH START
/**
* A boolean property that is <code>true</code> if {@link #value} is waiting for validation, and <code>false</code> otherwise.
* @type br.presenter.property.WritableProperty
*/
this.pending = new WritableProperty(false);
// PATCH END
Field.call(this, vValue);
}
topiarist.extend(FieldPatch, Field);
module.exports = FieldPatch;
The text was updated successfully, but these errors were encountered:
When we a cjs js-patch that needs to require the original class, the app-deps command fails with an error such as
Example of offending patch:
The text was updated successfully, but these errors were encountered: