Skip to content

Commit

Permalink
Remove warn from can.Control.view, leave comment in about it.
Browse files Browse the repository at this point in the history
  • Loading branch information
imjoshdean committed Dec 11, 2012
1 parent b935532 commit 138c429
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control/view/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ steal('can/util', 'can/control', 'can/view',function(can) {
};

can.Control.prototype.view = function( view, data, myhelpers ) {
steal.dev.warn('can.Control.view is deprecated!');
//WARN: can.Control.view is depreciated!
//shift args if no view is provided
if ( typeof view != "string" && !myhelpers ) {
myhelpers = data;
Expand Down

0 comments on commit 138c429

Please sign in to comment.