Skip to content

Commit 7156ad4

Browse files
Make compatible with Browserify/Require, closes imakewebthings#52
1 parent 7101ff2 commit 7156ad4

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

README.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ Unit tests for Waypoints are written with [Jasmine](http://pivotal.github.com/ja
3232

3333
## Changelog
3434

35+
### v1.1.5
36+
37+
- Make plugin compatible with Browserify/RequireJS. (Thanks @cjroebuck)
38+
3539
### v1.1.4
3640

3741
- Add handler option to give alternate binding method.

waypoints.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
jQuery Waypoints - v1.1.4
2+
jQuery Waypoints - v1.1.5
33
Copyright (c) 2011-2012 Caleb Troughton
44
Dual licensed under the MIT license and GPL license.
55
https://github.com/imakewebthings/jquery-waypoints/blob/master/MIT-license.txt
@@ -14,8 +14,10 @@ GitHub Repository: https://github.com/imakewebthings/jquery-waypoints
1414
Documentation and Examples: http://imakewebthings.github.com/jquery-waypoints
1515
1616
Changelog:
17+
v1.1.5
18+
- Make plugin compatible with Browserify/RequireJS. (Thanks @cjroebuck)
1719
v1.1.4
18-
- Add handler option to give alternate binding method. (Issue #34)
20+
- Add handler option to give alternate binding method. (Issue #34)
1921
v1.1.3
2022
- Fix cases where waypoints are added post-load and should be triggered
2123
immediately. (Issue #28)
@@ -661,4 +663,4 @@ Support:
661663
// Calculate everything once on load.
662664
$[wps]('refresh');
663665
});
664-
})(jQuery, 'waypoint', 'waypoints', this);
666+
})(jQuery, 'waypoint', 'waypoints', window);

waypoints.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)