Skip to content

Commit bec9ba2

Browse files
committed
Tweaks to AMD support
1 parent 04eb1a8 commit bec9ba2

8 files changed

+15
-10
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
(The MIT License)
22

3-
Copyright (c) 2007-2013 Ariel Flesler <[email protected]>
3+
Copyright (c) 2007-2014 Ariel Flesler <[email protected]>
44

55
Permission is hereby granted, free of charge, to any person obtaining
66
a copy of this software and associated documentation files (the

changes.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
1.4.8
2+
[Improvement]
3+
- Added support for AMD
4+
15
1.4.7
26
[Misc]
37
- Changed spacing

component.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jquery.scrollTo",
3-
"version": "1.4.7",
3+
"version": "1.4.8",
44
"description": "Easy element scrolling using jQuery.",
55
"homepage": "https://github.com/flesler/jquery.scrollTo",
66
"main": [

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="Demo of jQuery.ScrollTo. A very light and highly customizable jQuery plugin, to scroll overflowed elements or the window itself, made by Ariel Flesler." />
88
<meta name="robots" content="index,follow" />
99
<link type="text/css" rel="stylesheet" href="css/style.css" />
10-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
10+
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
1111
<script type="text/javascript" src="../jquery.scrollTo.min.js"></script>
1212
<script type="text/javascript">
1313
jQuery(function( $ ){

demo/index.old.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="Demo of jQuery.ScrollTo. A very light and highly customizable jQuery plugin, to scroll overflowed elements or the window itself, made by Ariel Flesler." />
88
<meta name="robots" content="index,follow" />
99
<link type="text/css" rel="stylesheet" href="css/style.old.css" />
10-
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
10+
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
1111
<script type="text/javascript" src="../jquery.scrollTo.js"></script>
1212
<script type="text/javascript">
1313
jQuery(function( $ ){

jquery.scrollTo.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
/*!
22
* jQuery.ScrollTo
3-
* Copyright (c) 2007-2013 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com
3+
* Copyright (c) 2007-2014 Ariel Flesler - aflesler<a>gmail<d>com | http://flesler.blogspot.com
44
* Licensed under MIT
55
* http://flesler.blogspot.com/2007/10/jqueryscrollto.html
66
* @projectDescription Easy element scrolling using jQuery.
77
* @author Ariel Flesler
8-
* @version 1.4.7
8+
* @version 1.4.8
99
*/
1010

1111
;(function (factory) {
12+
// AMD Support
1213
if (typeof define === 'function' && define.amd) {
1314
define(['jquery'], factory);
1415
} else {

jquery.scrollTo.min.js

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

scrollTo.jquery.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "Ariel Flesler's jQuery scrollTo",
44
"description": "Easy element scrolling using jQuery.",
55
"keywords": ["browser", "animated", "animation", "scrolling", "scroll", "links", "anchors"],
6-
"version": "1.4.7",
6+
"version": "1.4.8",
77
"author": {
88
"name": "Ariel Flesler",
99
"email": "[email protected]",

0 commit comments

Comments
 (0)