AnsweredAssumed Answered

Reduce duplication in record.js and create-actions.js

Question asked by karmet on Nov 11, 2015
Latest reply on Nov 11, 2015 by karmet

Is this possible? At the moment we have the exact same functionality for both views.

It feels kind of nasty to have the exact same code in both files (minus the "extendFrom:" portion).


Can we somehow use Backbone's mixin to swap of the duplicated logic to a separate file and then extend this mixin into both views in an elegant way?