Skip to content

Commit

Permalink
fix(service): fixes wrong warning message refering to $mix instead …
Browse files Browse the repository at this point in the history
…of `mix`

Fixes #178
  • Loading branch information
iobaixas committed Dec 10, 2014
1 parent 7ee7b9c commit 09b1f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ RMModule.provider('restmod', [function() {

if(arguments.length > 1) {
model.mix(arraySlice.call(arguments, 1));
$log.warn('Passing mixins and difinitions in the model method will be deprecated in restmod 1.2, use restmod.model().$mix() instead.');
$log.warn('Passing mixins and difinitions in the model method will be deprecated in restmod 1.2, use restmod.model().mix() instead.');
}

return model;
Expand Down

0 comments on commit 09b1f35

Please sign in to comment.