srobbin/jquery-backstretch — pull request #83 by skorth (2011-11-29 10:59:14+00:00)
Title: Backstretch as normal plugin and also as AMD module.

Hey there,

as i can see these three lines of code i added just works fine. I tested it as normal plugin and as upcoming amd module.

As normal plugin it still works as usual: $.backstretch(....);

As AMD module within some main.js file:

define('main', ['backstretch'], function(backstretch){
backstretch(....);
});

I hope this works now.

Greets,
Sascha