Unused variable in can.Model #1242

Closed
taai opened this Issue Sep 22, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@taai

taai commented Sep 22, 2014

Variable stub is not being used in here:
https://github.com/bitovi/canjs/blob/master/model/model.js#L1861

In case if line numbers are changed, look for this code:

stub = attrs && typeof attrs === 'object' && this.attr(attrs.attr ? attrs.attr() : attrs);

@daffl daffl added this to the 2.1.4 milestone Oct 22, 2014

daffl added a commit that referenced this issue Nov 3, 2014

@daffl daffl closed this in #1301 Nov 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment