Skip to content

Commit

Permalink
Another attempt at compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
megawac committed Jun 26, 2015
1 parent a80668e commit b2e541c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/metal.js
Expand Up @@ -4,12 +4,12 @@

Marionette.Class = Metal.Class.extend({});

var props = _.keys(Metal.Class.prototype);
function classify(obj) {
return Marionette.Class.extend(
_.extend(
_.defaults(
{constructor: obj},
_.omit(obj.prototype, props)
Metal.Class.prototype,
obj.prototype
)
);
}
Expand Down

0 comments on commit b2e541c

Please sign in to comment.