bitovi/canjs — pull request #448 by daffl (2013-10-11 17:57:53+00:00)
Title: String parameter not working as expected for: jQuery.fn.control / jQuery.fn.controls

Using CanJS v1.1.6

String parameter not working as expected for: jQuery.fn.control / jQuery.fn.controls

Reference: http://canjs.com/docs/jQuery.fn.control.html

```javascript

//
// Define Plugin
//
var MyPlugin = can.Control.extend('MyPlugin', {
pluginName: 'MyPlugin'
}, {});

// init plugin
$('body').MyPlugin();

//
// Attempt to get defined plugin
//
$('body').control(); // returns MyPlugin (works as expected)
$('body').control(); // returns MyPlugin (works as expected)
$('body').control(MyPlugin); // returns MyPlugin (works as expected)

$('body').control('MyPlugin'); // returns undefined
$('body').control('myplugin'); // return undefined
```