srobbin/jquery-backstretch — pull request #82 by skorth (2011-11-28 11:20:25+00:00)
Title: Backstretch also as amd/commonjs module.

This changes makes it possible to use backstretch as normal jQuery plugin but also as amd/commonjs module. With jQuery 1.7.x the amd specs. are also introduced to jQuery itself :-).

I just add this amd/commonjs pattern (Seems to be a common one):

https://github.com/addyosmani/jquery-plugin-patterns/blob/master/amd+commonjs/pluginCore.js

In my case it works perfect with requireJS ;-).

Greets,
Sascha