Skip to content

Commit a924041

Browse files
committed
update moment & spin version
1 parent 192fe5e commit a924041

File tree

7 files changed

+194
-106
lines changed

7 files changed

+194
-106
lines changed

moment/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,25 @@ grunt # this runs tests and jshint
4747
Changelog
4848
=========
4949

50+
### 2.6.0 [See changelog](https://gist.github.com/ichernev/10544682)
51+
52+
* languages
53+
* [#1529] Serbian-Cyrillic (sr-cyr)
54+
* [#1544], [#1546] Khmer Cambodia (km)
55+
56+
* features
57+
* [#1419](https://github.com/moment/moment/issues/1419), [#1468](https://github.com/moment/moment/issues/1468), [#1467](https://github.com/moment/moment/issues/1467), [#1546](https://github.com/moment/moment/issues/1546) better handling of timezone-d moments around DST
58+
* [#1462](https://github.com/moment/moment/issues/1462) add weeksInYear and isoWeeksInYear
59+
* [#1475](https://github.com/moment/moment/issues/1475) support ordinal parsing
60+
* [#1499](https://github.com/moment/moment/issues/1499) composer support
61+
* [#1577](https://github.com/moment/moment/issues/1577), [#1604](https://github.com/moment/moment/issues/1604) put Date parsing in moment.createFromInputFallback so it can be properly deprecated and controlled in the future
62+
* [#1545](https://github.com/moment/moment/issues/1545) extract two-digit year parsing in moment.parseTwoDigitYear, so it can be overwritten
63+
* [#1590](https://github.com/moment/moment/issues/1590) (see [#1574](https://github.com/moment/moment/issues/1574)) set AMD global before module definition to better support non AMD module dependencies used in AMD environment
64+
* [#1589](https://github.com/moment/moment/issues/1589) remove global in Node.JS environment (was not working before, nobody complained, was scheduled for removal anyway)
65+
* [#1586](https://github.com/moment/moment/issues/1586) support quarter setting and parsing
66+
67+
* 18 bugs fixed
68+
5069
### 2.5.1
5170

5271
* languages

moment/dist/moment-debug.js

Lines changed: 163 additions & 90 deletions
Large diffs are not rendered by default.

moment/dist/moment.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

moment/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "moment",
33
"family": "gallery",
4-
"version": "2.5.1",
4+
"version": "2.6.0",
55
"package": "https://raw.github.com/timrwood/moment/master/package.json",
66
"description": "Parse, manipulate, and display dates.",
77
"homepage": "http://momentjs.com",

spin/dist/spin-debug.js

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
define("gallery/spin/1.3.3/spin-debug", [], function(require, exports, module) {
1+
define("gallery/spin/2.0.0/spin-debug", [], function(require, exports, module) {
22
/**
3-
* Copyright (c) 2011-2013 Felix Gnass
3+
* Copyright (c) 2011-2014 Felix Gnass
44
* Licensed under the MIT license
55
*/
66
(function(root, factory) {
@@ -125,15 +125,14 @@ define("gallery/spin/1.3.3/spin-debug", [], function(require, exports, module) {
125125
// Use a high z-index by default
126126
className: "spinner",
127127
// CSS class to assign to the element
128-
top: "auto",
128+
top: "50%",
129129
// center vertically
130-
left: "auto",
130+
left: "50%",
131131
// center horizontally
132-
position: "relative"
132+
position: "absolute"
133133
};
134134
/** The constructor */
135135
function Spinner(o) {
136-
if (typeof this == "undefined") return new Spinner(o);
137136
this.opts = merge(o || {}, Spinner.defaults, defaults);
138137
}
139138
// Global defaults that override the built-ins:
@@ -152,15 +151,12 @@ define("gallery/spin/1.3.3/spin-debug", [], function(require, exports, module) {
152151
position: o.position,
153152
width: 0,
154153
zIndex: o.zIndex
155-
}), mid = o.radius + o.length + o.width, ep, tp;
156-
// target position
154+
}), mid = o.radius + o.length + o.width;
157155
if (target) {
158156
target.insertBefore(el, target.firstChild || null);
159-
tp = pos(target);
160-
ep = pos(el);
161157
css(el, {
162-
left: (o.left == "auto" ? tp.x - ep.x + (target.offsetWidth >> 1) : parseInt(o.left, 10) + mid) + "px",
163-
top: (o.top == "auto" ? tp.y - ep.y + (target.offsetHeight >> 1) : parseInt(o.top, 10) + mid) + "px"
158+
left: o.left,
159+
top: o.top
164160
});
165161
}
166162
el.setAttribute("role", "progressbar");

spin/dist/spin.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "spin",
33
"family": "gallery",
44
"description": "An animated CSS3 loading spinner with VML fallback for IE.",
5-
"version": "1.3.3",
5+
"version": "2.0.0",
66
"main": "spin.js",
77
"homepage": "http://fgnass.github.io/spin.js/",
88
"directories": {

0 commit comments

Comments
 (0)