@ -1,23 +0,0 @@ |
||||
{ |
||||
"name": "jquery-timeago", |
||||
"license": "MIT", |
||||
"main": "jquery.timeago.js", |
||||
"ignore": [ |
||||
"test", |
||||
"vendor" |
||||
], |
||||
"dependencies": { |
||||
"jquery": ">=1.4" |
||||
}, |
||||
"homepage": "https://github.com/rmm5t/jquery-timeago", |
||||
"version": "1.4.3", |
||||
"_release": "1.4.3", |
||||
"_resolution": { |
||||
"type": "version", |
||||
"tag": "v1.4.3", |
||||
"commit": "5293dacee881e78b25bd4f699161fca81dff5205" |
||||
}, |
||||
"_source": "https://github.com/rmm5t/jquery-timeago.git", |
||||
"_target": "1.4.*", |
||||
"_originalSource": "jquery-timeago" |
||||
} |
@ -1,3 +0,0 @@ |
||||
.bundle |
||||
vendor/ruby |
||||
public |
@ -1 +0,0 @@ |
||||
timeago.yarp.com |
@ -1,37 +0,0 @@ |
||||
## Want to Contribute? |
||||
|
||||
Found an issue? Thank you for helping out by reporting it. Please describe the |
||||
problem, what you tried, what you expected to see, and what you actually |
||||
experienced. Please [re-read the documentation](http://timeago.yarp.com/) to |
||||
make sure you're using the API as designed, but if you found something that's |
||||
broken, we really appreciate your efforts in letting us know. Bonus points for |
||||
submitting a failing test case to help us diagnose and potentially fix the |
||||
issue. |
||||
|
||||
## Want to Contribute? |
||||
|
||||
Awesome. We love help, but before getting started, please read: |
||||
|
||||
**[Don't "Push" Your Pull Requests](http://www.igvita.com/2011/12/19/dont-push-your-pull-requests/)** |
||||
|
||||
## Ready for a Pull-Request? |
||||
|
||||
1. Fork the repo. |
||||
|
||||
2. Run the tests. Run `rake` or open `open test/index.html`. We only take pull |
||||
requests with passing tests, and it's great to know that you started from a |
||||
clean slate. |
||||
|
||||
3. Add a test for your change. Only refactoring and documentation change |
||||
require no new tests. If you are adding functionality or fixing a bug, we |
||||
need a test! |
||||
|
||||
4. Make the test pass. |
||||
|
||||
5. Push to your fork (hopefully this comes from a topical branch) and submit a |
||||
pull request. |
||||
|
||||
At this point you're waiting on us. Please keep in mind that OSS maintainers |
||||
are often very busy. We'll do our best to at least comment on issues and |
||||
pull-requests as soon as possible, but sometimes life gets in the way. We may |
||||
also suggest some changes or improvements or alternatives. |
@ -1,22 +0,0 @@ |
||||
Copyright (c) 2008-2015 Ryan McGeary |
||||
|
||||
MIT License |
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining |
||||
a copy of this software and associated documentation files (the |
||||
"Software"), to deal in the Software without restriction, including |
||||
without limitation the rights to use, copy, modify, merge, publish, |
||||
distribute, sublicense, and/or sell copies of the Software, and to |
||||
permit persons to whom the Software is furnished to do so, subject to |
||||
the following conditions: |
||||
|
||||
The above copyright notice and this permission notice shall be |
||||
included in all copies or substantial portions of the Software. |
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
@ -1,105 +0,0 @@ |
||||
# timeago: a jQuery plugin |
||||
|
||||
Timeago is a jQuery plugin that makes it easy to support automatically updating |
||||
fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago") from ISO 8601 |
||||
formatted dates and times embedded in your HTML (à la microformats). |
||||
|
||||
--- |
||||
|
||||
**How You Can Help** |
||||
|
||||
[][square] |
||||
[][gratipay] |
||||
[][codementor] |
||||
|
||||
If you like this project, [buy me a coffee][square], [donate via Gratipay][gratipay], or [book a session with me on Codementor][codementor]. |
||||
|
||||
Bitcoin: `1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m` |
||||
|
||||
[square]: https://cash.me/$rmm5t "Donate to rmm5t for open source!" |
||||
[gratipay]: https://gratipay.com/rmm5t/ "Donate to rmm5t for open source!" |
||||
[bitcoin]: bitcoin:1rmm5tv6f997JK5bLcGbRCZyVjZUPkQ2m?amount=0.01&label=Coffee%20to%20rmm5t%20for%20Open%20Source "Buy rmm5t a coffee for open source!" |
||||
[codementor]: https://www.codementor.io/rmm5t?utm_campaign=profile&utm_source=button-rmm5t&utm_medium=shields "Book a session with rmm5t on Codementor!" |
||||
|
||||
## Usage |
||||
|
||||
First, load jQuery and the plugin: |
||||
|
||||
```html |
||||
<script src="jquery.min.js" type="text/javascript"></script> |
||||
<script src="jquery.timeago.js" type="text/javascript"></script> |
||||
``` |
||||
|
||||
Now, let's attach it to your timestamps on DOM ready - put this in the head |
||||
section: |
||||
|
||||
```html |
||||
<script type="text/javascript"> |
||||
jQuery(document).ready(function() { |
||||
$("abbr.timeago").timeago(); |
||||
}); |
||||
</script> |
||||
``` |
||||
|
||||
This will turn all abbr elements with a class of timeago and an ISO 8601 |
||||
timestamp in the title (conforming to the |
||||
[datetime design pattern microformat](http://microformats.org/wiki/datetime-design-pattern)): |
||||
|
||||
```html |
||||
<abbr class="timeago" title="2011-12-17T09:24:17Z">December 17, 2011</abbr> |
||||
``` |
||||
|
||||
into something like this: |
||||
|
||||
```html |
||||
<abbr class="timeago" title="December 17, 2011">about 1 day ago</abbr> |
||||
``` |
||||
|
||||
HTML5 `<time>` elements are also supported: |
||||
|
||||
```html |
||||
<time class="timeago" datetime="2011-12-17T09:24:17Z">December 17, 2011</time> |
||||
``` |
||||
|
||||
As time passes, the timestamps will automatically update. |
||||
|
||||
**For more usage and examples**: [http://timeago.yarp.com/](http://timeago.yarp.com/) |
||||
|
||||
**For different language configurations**: visit the [`locales`](https://github.com/rmm5t/jquery-timeago/tree/master/locales) directory. |
||||
|
||||
## Changes |
||||
|
||||
| Version | Notes | |
||||
|---------|---------------------------------------------------------------------------------| |
||||
| 1.4.x | ([compare][compare-1.4]) Added allowPast setting | |
||||
| 1.3.x | ([compare][compare-1.3]) Added updateFromDOM function; bug fixes; bower support | |
||||
| 1.2.x | ([compare][compare-1.2]) Added cutoff setting | |
||||
| 1.1.x | ([compare][compare-1.1]) Added update function | |
||||
| 1.0.x | ([compare][compare-1.0]) locale updates; bug fixes; AMD wrapper | |
||||
| 0.11.x | ([compare][compare-0.11]) natural rounding; locale updates; | |
||||
| 0.10.x | ([compare][compare-0.10]) locale updates | |
||||
| 0.9.x | ([compare][compare-0.9]) microsecond support; bug fixes | |
||||
| 0.8.x | ([compare][compare-0.8]) `<time>` element support; bug fixes | |
||||
| 0.7.x | ([compare][compare-0.7]) locale function overrides; unit tests | |
||||
| ... | ... | |
||||
|
||||
[compare-1.4]: https://github.com/rmm5t/jquery-timeago/compare/v1.3.2...v1.4.3 |
||||
[compare-1.3]: https://github.com/rmm5t/jquery-timeago/compare/v1.2.0...v1.3.2 |
||||
[compare-1.2]: https://github.com/rmm5t/jquery-timeago/compare/v1.1.0...v1.2.0 |
||||
[compare-1.1]: https://github.com/rmm5t/jquery-timeago/compare/v1.0.2...v1.1.0 |
||||
[compare-1.0]: https://github.com/rmm5t/jquery-timeago/compare/v0.11.4...v1.0.2 |
||||
[compare-0.11]: https://github.com/rmm5t/jquery-timeago/compare/v0.10.1...v0.11.4 |
||||
[compare-0.10]: https://github.com/rmm5t/jquery-timeago/compare/v0.9.3...v0.10.1 |
||||
[compare-0.9]: https://github.com/rmm5t/jquery-timeago/compare/v0.8.2...v0.9.3 |
||||
[compare-0.8]: https://github.com/rmm5t/jquery-timeago/compare/v0.7.2...v0.8.2 |
||||
[compare-0.7]: https://github.com/rmm5t/jquery-timeago/compare/v0.6.2...v0.7.2 |
||||
|
||||
## Author |
||||
|
||||
[Ryan McGeary](http://ryan.mcgeary.org) ([@rmm5t](http://twitter.com/rmm5t)) |
||||
|
||||
## Other |
||||
|
||||
[MIT License](http://www.opensource.org/licenses/mit-license.php) |
||||
|
||||
Copyright (c) 2008-2015, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org) |
@ -1,18 +0,0 @@ |
||||
require "bundler/setup" |
||||
|
||||
task :default => :test |
||||
|
||||
desc "Publish \"marketing\" docs" |
||||
task :publish do |
||||
sh("git rebase master gh-pages") |
||||
sh("git checkout master") |
||||
sh("git push origin master") |
||||
sh("git push origin gh-pages") |
||||
sh("git push --tags") |
||||
sh("npm publish") |
||||
end |
||||
|
||||
desc "Open your default browser with the test page" |
||||
task :test do |
||||
sh("open test/index.html") |
||||
end |
@ -1,12 +0,0 @@ |
||||
{ |
||||
"name": "jquery-timeago", |
||||
"license": "MIT", |
||||
"main": "jquery.timeago.js", |
||||
"ignore": [ |
||||
"test", |
||||
"vendor" |
||||
], |
||||
"dependencies": { |
||||
"jquery": ">=1.4" |
||||
} |
||||
} |
Before Width: | Height: | Size: 5.4 KiB |
@ -1,14 +0,0 @@ |
||||
ko.bindingHandlers.timeago = { |
||||
init: function (element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) { |
||||
var value = valueAccessor(); |
||||
var valueUnwrapped = ko.unwrap(value); |
||||
element.title = moment(valueUnwrapped).toISOString(); |
||||
$(element).timeago(); |
||||
}, |
||||
update: function (element, valueAccessor, allBindingsAccessor, viewModel, bindingContext) { |
||||
var value = valueAccessor(); |
||||
var valueUnwrapped = ko.unwrap(value); |
||||
element.title = moment(valueUnwrapped).toISOString(); |
||||
$(element).timeago('update', element.title); |
||||
} |
||||
} |
@ -1,221 +0,0 @@ |
||||
<!DOCTYPE html> |
||||
<html> |
||||
<head> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
||||
<meta name="microid" content="mailto+http:sha1:566841e568e84b46c92d2291b44b836dfddc5c42" /> |
||||
<title>timeago: a jQuery plugin</title> |
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script> |
||||
<script src="jquery.timeago.js" type="text/javascript"></script> |
||||
<script src="test/test_helpers.js" type="text/javascript"></script> |
||||
<script type="text/javascript"> |
||||
jQuery(document).ready(function($) { |
||||
prepareDynamicDates(); |
||||
$("abbr.timeago").timeago(); |
||||
|
||||
$("#prog_date").text(jQuery.timeago(new Date())); |
||||
$("#prog_string").text(jQuery.timeago("2008-07-17")); |
||||
$("#prog_element").text(jQuery.timeago("2008-07-20")); |
||||
}); |
||||
|
||||
</script> |
||||
<style> |
||||
* { margin: 0; padding: 0; } |
||||
body { font-family: Helvetica,Arial,sans-serif; color: #333; background-color: #ccc; font-size: 16px; line-height: 24px; } |
||||
h1 { margin: 0; font-size: 60px; line-height: 100px; text-align: center; } |
||||
h2 { margin: -30px 0 40px 50px; font-size: 20px; line-height: 20px; text-align: center; color: #999; } |
||||
h3 { margin: 24px 0 6px 0; font-size: 18px; line-height: 18px; border-bottom: 1px solid #ccc; } |
||||
h1 img { vertical-align: middle; } |
||||
p { margin: 0 0 24px 0; } |
||||
p.example { margin: 0 0 12px 0; } |
||||
p.how, p.last { margin: 0; } |
||||
ul { margin: 0 24px 24px; } |
||||
li { line-height: 24px; } |
||||
pre { background-color: #333; color: #fff; margin: 12px 0; font-size: 12px; padding: 0 6px; } |
||||
pre em { font-style: normal; background-color: #554; } |
||||
pre, tt { font-family: monaco,"courier new",mono; } |
||||
abbr { border-bottom: 1px dotted #333; } |
||||
tt { font-size: 14px; } |
||||
a { color: #06e; padding: 1px; } |
||||
em { font-style: normal; background-color: #feb } |
||||
a:hover { background-color: #06c; color: #fff; text-decoration: none; } |
||||
#content { margin:0 auto; padding: 24px; width:700px; background-color:#fff; border: 1px solid #999; border-width: 0 1px 1px 1px; } |
||||
#footer { margin:0 auto 24px; padding: 12px; width:700px; line-height: 24px; } |
||||
.help { font-size: 14px; color: #888; } |
||||
</style> |
||||
</head> |
||||
<body> |
||||
<div id="content"> |
||||
<h1><img src="clock.png" /> timeago</h1> |
||||
<h2>a jQuery plugin</h2> |
||||
|
||||
<h3>What?</h3> |
||||
<p> |
||||
Timeago is a jQuery plugin that makes it easy to support automatically updating fuzzy |
||||
timestamps (e.g. "4 minutes ago" or "about 1 day ago"). <a href="jquery.timeago.js">Download</a>, view |
||||
the examples, and enjoy. |
||||
</p> |
||||
<noscript><p class="example"><strong>Whoah, whoah, whoah. You see the irony here, don't you? You're looking for a jQuery plugin, yet you surf the Internet with JavaScript turned off. This confuses the Interwebs. Afterall, there might be some useful demos and such that you could enjoy, but instead, you're wasting your time reading this. I'm so sorry.</strong></p></noscript> |
||||
<p class="example"> |
||||
You opened this page <abbr class="loaded timeago">when you opened the page</abbr>. <span class="help">(This will update every minute. Wait for it.)</span> |
||||
</p> |
||||
<p class="example"> |
||||
This page was last modified <abbr class="modified timeago">sometime before now [browser might not support document.lastModified]</abbr>. |
||||
</p> |
||||
<p class="example"> |
||||
Ryan was born <abbr class="timeago" title="1978-12-18T17:17:00Z">Dec 18, 1978</abbr>. |
||||
</p> |
||||
|
||||
<h3>Why?</h3> |
||||
<p>Timeago was originally built for use with <a href="http://yarp.com">Yarp.com</a> to timestamp comments.</p> |
||||
<ul> |
||||
<li>Avoid timestamps dated "1 minute ago" even though the page was opened 10 minutes ago; <em>timeago refreshes automatically</em>.</li> |
||||
<li>You can <em>take full advantage of page caching</em> in your web applications, because the timestamps aren't calculated on the server.</li> |
||||
<li>You get to <em>use <a href="http://microformats.org/wiki/datetime-design-pattern">microformats</a></em> like the cool kids.</li> |
||||
</ul> |
||||
|
||||
<h3>How?</h3> |
||||
<p class="how"> |
||||
First, load <a href="http://jquery.com/">jQuery</a> and the plugin: |
||||
</p> |
||||
<pre> |
||||
<script src="jquery.min.js" type="text/javascript"></script> |
||||
<script src="jquery.timeago.js" type="text/javascript"></script></pre> |
||||
<p class="how"> |
||||
Now, let's attach it to your timestamps on DOM ready: |
||||
</p> |
||||
<pre> |
||||
jQuery(document).ready(function() { |
||||
jQuery("abbr.timeago").timeago(); |
||||
});</pre> |
||||
<p class="how"> |
||||
This will turn all <tt>abbr</tt> elements with a class |
||||
of <tt>timeago</tt> and an <a href="http://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> timestamp in the title: |
||||
</p> |
||||
<pre> |
||||
<abbr class="<em>timeago</em>" title="<em>2008-07-17T09:24:17Z</em>">July 17, 2008</abbr></pre> |
||||
<p class="how"> |
||||
into something like this: |
||||
</p> |
||||
<pre> |
||||
<abbr class="timeago" title="July 17, 2008"><em><abbr class="timeago" title="2008-07-17T09:24:17Z">time ago</abbr></em></abbr></pre> |
||||
<p> |
||||
which yields: <abbr class="timeago" title="2008-07-17T09:24:17Z">July 17, 2008</abbr>. As time passes, the timestamps will automatically update. |
||||
</p> |
||||
|
||||
<p class="how"> |
||||
You can also use it programmatically: |
||||
</p> |
||||
<pre> |
||||
jQuery.timeago(new Date()); //=> "<span id="prog_date"></span>" |
||||
jQuery.timeago("2008-07-17"); //=> "<span id="prog_string"></span>" |
||||
jQuery.timeago(jQuery("abbr#some_id")); //=> "<span id="prog_element"></span>" // [title="2008-07-20"]</pre> |
||||
|
||||
<p class="how"> |
||||
To support timestamps in the future, use the <tt>allowFuture</tt> setting: |
||||
</p> |
||||
<pre> |
||||
jQuery.timeago.settings.allowFuture = true;</pre> |
||||
|
||||
<p class="how"> |
||||
To disable timestamps in the past, use the <tt>allowPast</tt> setting. |
||||
This setting is set to true by default. When set to false, if the time is in the past then instead of displaying a message like "5 minutes ago" a static message will be displayed. |
||||
The staic message displayed can be configured with the <tt>strings.inPast</tt> setting: |
||||
</p> |
||||
<pre> |
||||
jQuery.timeago.settings.strings.inPast = "time has elapsed"; |
||||
jQuery.timeago.settings.allowPast = false;</pre> |
||||
|
||||
<h3>Excusez-moi?</h3> |
||||
<p> |
||||
Yes, timeago has locale/i18n/language support. Here are some <a href="https://github.com/rmm5t/jquery-timeago/tree/master/locales">configuration examples</a>. Please submit a <a href="https://github.com/rmm5t/jquery-timeago">GitHub pull request</a> for corrections or additional languages. |
||||
</p> |
||||
|
||||
<h3>Where?</h3> |
||||
<p><a href="jquery.timeago.js">Download the "stable" release</a>.</p> |
||||
<p> |
||||
The code is hosted on |
||||
GitHub: <a href="http://github.com/rmm5t/jquery-timeago">http://github.com/rmm5t/jquery-timeago</a>. |
||||
Go on, live on the edge. |
||||
</p> |
||||
|
||||
<h3>Who?</h3> |
||||
<p> |
||||
Timeago was built by <a href="http://ryan.mcgeary.org">Ryan McGeary</a> |
||||
(<a href="http://twitter.com/rmm5t">@rmm5t</a>) while standing on the |
||||
shoulders of giants. John Resig wrote about |
||||
a <a href="http://ejohn.org/blog/javascript-pretty-date/">similar |
||||
approach</a>. The verbiage was based on |
||||
the <tt>distance_of_time_in_words</tt> ActionView helper |
||||
in <a href="http://rubyonrails.org">Ruby on Rails</a>. |
||||
</p> |
||||
|
||||
<h3>When?</h3> |
||||
<p> |
||||
Timeago was conceived <abbr class="timeago" title="2008-07-17T02:30:00-0500">on July 17, 2008</abbr>. <span class="help">(Yup, that's powered by timeago too)</span> |
||||
</p> |
||||
|
||||
<h3>What else?</h3> |
||||
<p class="example"> |
||||
HTML5 has a new <tt>time</tt> tag and timeago supports it too. |
||||
</p> |
||||
<pre> |
||||
<time class="<em>timeago</em>" datetime="<em>2008-07-17T09:24:17Z</em>">July 17, 2008</time></pre> |
||||
<p class="how"> |
||||
Attach timeago like so: |
||||
</p> |
||||
<pre> |
||||
jQuery(document).ready(function() { |
||||
jQuery("time.timeago").timeago(); |
||||
});</pre> |
||||
|
||||
<p> |
||||
Are you concerned about time zone support? Don't be. Timeago handles |
||||
this too. As long as your timestamps are |
||||
in <a href="http://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> format |
||||
and include a |
||||
full <a href="http://en.wikipedia.org/wiki/ISO_8601#Time_zone_designators">time |
||||
zone designator</a> (±hhmm), everything should work out of the box |
||||
regardless of the time zone that your visitors live in. |
||||
</p> |
||||
|
||||
<h3>Huh?</h3> |
||||
<p class="last"> |
||||
Need a Rails helper to make those fancy microformat <tt>abbr</tt> tags? Fine, here ya go: |
||||
</p> |
||||
<pre> |
||||
def timeago(time, options = {}) |
||||
options[:class] ||= "timeago" |
||||
content_tag(:abbr, time.to_s, options.merge(:title => time.getutc.iso8601)) if time |
||||
end</pre> |
||||
|
||||
<h3>Do you use Timeago?</h3> |
||||
|
||||
<p> |
||||
Great! Please add your site to the list |
||||
of <a href="https://github.com/rmm5t/jquery-timeago/wiki/Sites-that-use-Timeago">Sites |
||||
that use Timeago</a>. |
||||
</p> |
||||
|
||||
</div> |
||||
<div id="footer"> |
||||
<div style="float:right;"> |
||||
<a href="http://www.opensource.org/licenses/mit-license.php">MIT |
||||
License</a> |
||||
</div> |
||||
Copyright © 2008-2015 <a href="http://ryan.mcgeary.org">Ryan McGeary</a> |
||||
(<a href="http://twitter.com/rmm5t">@rmm5t</a>) |
||||
</div> |
||||
|
||||
<a href="http://github.com/rmm5t/jquery-timeago"><img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" alt="Fork me on GitHub" /></a> |
||||
|
||||
<script type="text/javascript"> |
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); |
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); |
||||
</script> |
||||
<script type="text/javascript"> |
||||
var pageTracker = _gat._getTracker("UA-2856277-2"); |
||||
pageTracker._initData(); |
||||
pageTracker._trackPageview(); |
||||
</script> |
||||
</body> |
||||
</html> |
@ -1,223 +0,0 @@ |
||||
/** |
||||
* Timeago is a jQuery plugin that makes it easy to support automatically |
||||
* updating fuzzy timestamps (e.g. "4 minutes ago" or "about 1 day ago"). |
||||
* |
||||
* @name timeago |
||||
* @version 1.4.3 |
||||
* @requires jQuery v1.2.3+ |
||||
* @author Ryan McGeary |
||||
* @license MIT License - http://www.opensource.org/licenses/mit-license.php
|
||||
* |
||||
* For usage and examples, visit: |
||||
* http://timeago.yarp.com/
|
||||
* |
||||
* Copyright (c) 2008-2015, Ryan McGeary (ryan -[at]- mcgeary [*dot*] org) |
||||
*/ |
||||
|
||||
(function (factory) { |
||||
if (typeof define === 'function' && define.amd) { |
||||
// AMD. Register as an anonymous module.
|
||||
define(['jquery'], factory); |
||||
} else if (typeof module === 'object' && typeof module.exports === 'object') { |
||||
factory(require('jquery')); |
||||
} else { |
||||
// Browser globals
|
||||
factory(jQuery); |
||||
} |
||||
}(function ($) { |
||||
$.timeago = function(timestamp) { |
||||
if (timestamp instanceof Date) { |
||||
return inWords(timestamp); |
||||
} else if (typeof timestamp === "string") { |
||||
return inWords($.timeago.parse(timestamp)); |
||||
} else if (typeof timestamp === "number") { |
||||
return inWords(new Date(timestamp)); |
||||
} else { |
||||
return inWords($.timeago.datetime(timestamp)); |
||||
} |
||||
}; |
||||
var $t = $.timeago; |
||||
|
||||
$.extend($.timeago, { |
||||
settings: { |
||||
refreshMillis: 60000, |
||||
allowPast: true, |
||||
allowFuture: false, |
||||
localeTitle: false, |
||||
cutoff: 0, |
||||
strings: { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "ago", |
||||
suffixFromNow: "from now", |
||||
inPast: 'any moment now', |
||||
seconds: "less than a minute", |
||||
minute: "about a minute", |
||||
minutes: "%d minutes", |
||||
hour: "about an hour", |
||||
hours: "about %d hours", |
||||
day: "a day", |
||||
days: "%d days", |
||||
month: "about a month", |
||||
months: "%d months", |
||||
year: "about a year", |
||||
years: "%d years", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
} |
||||
}, |
||||
|
||||
inWords: function(distanceMillis) { |
||||
if(!this.settings.allowPast && ! this.settings.allowFuture) { |
||||
throw 'timeago allowPast and allowFuture settings can not both be set to false.'; |
||||
} |
||||
|
||||
var $l = this.settings.strings; |
||||
var prefix = $l.prefixAgo; |
||||
var suffix = $l.suffixAgo; |
||||
if (this.settings.allowFuture) { |
||||
if (distanceMillis < 0) { |
||||
prefix = $l.prefixFromNow; |
||||
suffix = $l.suffixFromNow; |
||||
} |
||||
} |
||||
|
||||
if(!this.settings.allowPast && distanceMillis >= 0) { |
||||
return this.settings.strings.inPast; |
||||
} |
||||
|
||||
var seconds = Math.abs(distanceMillis) / 1000; |
||||
var minutes = seconds / 60; |
||||
var hours = minutes / 60; |
||||
var days = hours / 24; |
||||
var years = days / 365; |
||||
|
||||
function substitute(stringOrFunction, number) { |
||||
var string = $.isFunction(stringOrFunction) ? stringOrFunction(number, distanceMillis) : stringOrFunction; |
||||
var value = ($l.numbers && $l.numbers[number]) || number; |
||||
return string.replace(/%d/i, value); |
||||
} |
||||
|
||||
var words = seconds < 45 && substitute($l.seconds, Math.round(seconds)) || |
||||
seconds < 90 && substitute($l.minute, 1) || |
||||
minutes < 45 && substitute($l.minutes, Math.round(minutes)) || |
||||
minutes < 90 && substitute($l.hour, 1) || |
||||
hours < 24 && substitute($l.hours, Math.round(hours)) || |
||||
hours < 42 && substitute($l.day, 1) || |
||||
days < 30 && substitute($l.days, Math.round(days)) || |
||||
days < 45 && substitute($l.month, 1) || |
||||
days < 365 && substitute($l.months, Math.round(days / 30)) || |
||||
years < 1.5 && substitute($l.year, 1) || |
||||
substitute($l.years, Math.round(years)); |
||||
|
||||
var separator = $l.wordSeparator || ""; |
||||
if ($l.wordSeparator === undefined) { separator = " "; } |
||||
return $.trim([prefix, words, suffix].join(separator)); |
||||
}, |
||||
|
||||
parse: function(iso8601) { |
||||
var s = $.trim(iso8601); |
||||
s = s.replace(/\.\d+/,""); // remove milliseconds
|
||||
s = s.replace(/-/,"/").replace(/-/,"/"); |
||||
s = s.replace(/T/," ").replace(/Z/," UTC"); |
||||
s = s.replace(/([\+\-]\d\d)\:?(\d\d)/," $1$2"); // -04:00 -> -0400
|
||||
s = s.replace(/([\+\-]\d\d)$/," $100"); // +09 -> +0900
|
||||
return new Date(s); |
||||
}, |
||||
datetime: function(elem) { |
||||
var iso8601 = $t.isTime(elem) ? $(elem).attr("datetime") : $(elem).attr("title"); |
||||
return $t.parse(iso8601); |
||||
}, |
||||
isTime: function(elem) { |
||||
// jQuery's `is()` doesn't play well with HTML5 in IE
|
||||
return $(elem).get(0).tagName.toLowerCase() === "time"; // $(elem).is("time");
|
||||
} |
||||
}); |
||||
|
||||
// functions that can be called via $(el).timeago('action')
|
||||
// init is default when no action is given
|
||||
// functions are called with context of a single element
|
||||
var functions = { |
||||
init: function(){ |
||||
var refresh_el = $.proxy(refresh, this); |
||||
refresh_el(); |
||||
var $s = $t.settings; |
||||
if ($s.refreshMillis > 0) { |
||||
this._timeagoInterval = setInterval(refresh_el, $s.refreshMillis); |
||||
} |
||||
}, |
||||
update: function(time){ |
||||
var parsedTime = $t.parse(time); |
||||
$(this).data('timeago', { datetime: parsedTime }); |
||||
if($t.settings.localeTitle) $(this).attr("title", parsedTime.toLocaleString()); |
||||
refresh.apply(this); |
||||
}, |
||||
updateFromDOM: function(){ |
||||
$(this).data('timeago', { datetime: $t.parse( $t.isTime(this) ? $(this).attr("datetime") : $(this).attr("title") ) }); |
||||
refresh.apply(this); |
||||
}, |
||||
dispose: function () { |
||||
if (this._timeagoInterval) { |
||||
window.clearInterval(this._timeagoInterval); |
||||
this._timeagoInterval = null; |
||||
} |
||||
} |
||||
}; |
||||
|
||||
$.fn.timeago = function(action, options) { |
||||
var fn = action ? functions[action] : functions.init; |
||||
if(!fn){ |
||||
throw new Error("Unknown function name '"+ action +"' for timeago"); |
||||
} |
||||
// each over objects here and call the requested function
|
||||
this.each(function(){ |
||||
fn.call(this, options); |
||||
}); |
||||
return this; |
||||
}; |
||||
|
||||
function refresh() { |
||||
//check if it's still visible
|
||||
if(!$.contains(document.documentElement,this)){ |
||||
//stop if it has been removed
|
||||
$(this).timeago("dispose"); |
||||
return this; |
||||
} |
||||
|
||||
var data = prepareData(this); |
||||
var $s = $t.settings; |
||||
|
||||
if (!isNaN(data.datetime)) { |
||||
if ( $s.cutoff == 0 || Math.abs(distance(data.datetime)) < $s.cutoff) { |
||||
$(this).text(inWords(data.datetime)); |
||||
} |
||||
} |
||||
return this; |
||||
} |
||||
|
||||
function prepareData(element) { |
||||
element = $(element); |
||||
if (!element.data("timeago")) { |
||||
element.data("timeago", { datetime: $t.datetime(element) }); |
||||
var text = $.trim(element.text()); |
||||
if ($t.settings.localeTitle) { |
||||
element.attr("title", element.data('timeago').datetime.toLocaleString()); |
||||
} else if (text.length > 0 && !($t.isTime(element) && element.attr("title"))) { |
||||
element.attr("title", text); |
||||
} |
||||
} |
||||
return element.data("timeago"); |
||||
} |
||||
|
||||
function inWords(date) { |
||||
return $t.inWords(distance(date)); |
||||
} |
||||
|
||||
function distance(date) { |
||||
return (new Date().getTime() - date.getTime()); |
||||
} |
||||
|
||||
// fix for IE6 suckage
|
||||
document.createElement("abbr"); |
||||
document.createElement("time"); |
||||
})); |
@ -1,27 +0,0 @@ |
||||
# Locale override examples for timeago |
||||
|
||||
You can represent time statements in most western languages where |
||||
a prefix and/or suffix is used. |
||||
|
||||
The default case is to use suffix only (as in English), which you |
||||
do by providing the `suffixAgo` and `suffixFromNow` settings in |
||||
the strings hash (earlier versions of timeago used the deprecated |
||||
`ago` and `fromNow` options). If present, they are used. |
||||
|
||||
2 minutes [suffixAgo] |
||||
2 minutes [suffixFromNow] |
||||
|
||||
In case you want to use prefix only instead of |
||||
suffix (e.g. Greek), you provide the `prefixAgo` and |
||||
`prefixFromNow` options in the strings hash and leave `suffixAgo` |
||||
and `suffixFromNow` empty or null. |
||||
|
||||
[prefixAgo] 2 minutes |
||||
[prefixFromNow] 2 minutes |
||||
|
||||
For languages where you want to use a prefix only for future |
||||
tense and prefix/suffix for past tense (for example swedish), you |
||||
can combine the prefix and suffixes as needed. |
||||
|
||||
[prefixAgo] 2 minutes [suffixAgo] |
||||
[prefixFromNow] 2 minutes |
@ -1,18 +0,0 @@ |
||||
// Bulgarian
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "преди", |
||||
prefixFromNow: "след", |
||||
suffixAgo: null, |
||||
suffixFromNow: null, |
||||
seconds: "по-малко от минута", |
||||
minute: "една минута", |
||||
minutes: "%d минути", |
||||
hour: "един час", |
||||
hours: "%d часа", |
||||
day: "един ден", |
||||
days: "%d дни", |
||||
month: "един месец", |
||||
months: "%d месеца", |
||||
year: "една година", |
||||
years: "%d години" |
||||
}; |
@ -1,49 +0,0 @@ |
||||
// Bosnian
|
||||
(function() { |
||||
var numpf; |
||||
|
||||
numpf = function(n, f, s, t) { |
||||
var n10; |
||||
n10 = n % 10; |
||||
if (n10 === 1 && (n === 1 || n > 20)) { |
||||
return f; |
||||
} else if (n10 > 1 && n10 < 5 && (n > 20 || n < 10)) { |
||||
return s; |
||||
} else { |
||||
return t; |
||||
} |
||||
}; |
||||
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "prije", |
||||
prefixFromNow: "za", |
||||
suffixAgo: null, |
||||
suffixFromNow: null, |
||||
second: "sekund", |
||||
seconds: function(value) { |
||||
return numpf(value, "%d sekund", "%d sekunde", "%d sekundi"); |
||||
}, |
||||
minute: "oko minut", |
||||
minutes: function(value) { |
||||
return numpf(value, "%d minut", "%d minute", "%d minuta"); |
||||
}, |
||||
hour: "oko sat", |
||||
hours: function(value) { |
||||
return numpf(value, "%d sat", "%d sata", "%d sati"); |
||||
}, |
||||
day: "oko jednog dana", |
||||
days: function(value) { |
||||
return numpf(value, "%d dan", "%d dana", "%d dana"); |
||||
}, |
||||
month: "mjesec dana", |
||||
months: function(value) { |
||||
return numpf(value, "%d mjesec", "%d mjeseca", "%d mjeseci"); |
||||
}, |
||||
year: "prije godinu dana ", |
||||
years: function(value) { |
||||
return numpf(value, "%d godinu", "%d godine", "%d godina"); |
||||
}, |
||||
wordSeparator: " " |
||||
}; |
||||
|
||||
}).call(this); |
@ -1,18 +0,0 @@ |
||||
// Catalan
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "fa", |
||||
prefixFromNow: "d'aqui a", |
||||
suffixAgo: null, |
||||
suffixFromNow: null, |
||||
seconds: "menys d'1 minut", |
||||
minute: "1 minut", |
||||
minutes: "uns %d minuts", |
||||
hour: "1 hora", |
||||
hours: "unes %d hores", |
||||
day: "1 dia", |
||||
days: "%d dies", |
||||
month: "aproximadament un mes", |
||||
months: "%d mesos", |
||||
year: "aproximadament un any", |
||||
years: "%d anys" |
||||
}; |
@ -1,24 +0,0 @@ |
||||
// Czech
|
||||
(function() { |
||||
function f(n, d, a) { |
||||
return a[d>=0 ? 0 : a.length==2 || n<5 ? 1 : 2]; |
||||
} |
||||
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: 'před', |
||||
prefixFromNow: 'za', |
||||
suffixAgo: null, |
||||
suffixFromNow: null, |
||||
seconds: function(n, d) {return f(n, d, ['méně než minutou', 'méně než minutu']);}, |
||||
minute: function(n, d) {return f(n, d, ['minutou', 'minutu']);}, |
||||
minutes: function(n, d) {return f(n, d, ['%d minutami', '%d minuty', '%d minut']);}, |
||||
hour: function(n, d) {return f(n, d, ['hodinou', 'hodinu']);}, |
||||
hours: function(n, d) {return f(n, d, ['%d hodinami', '%d hodiny', '%d hodin']);}, |
||||
day: function(n, d) {return f(n, d, ['%d dnem', '%d den']);}, |
||||
days: function(n, d) {return f(n, d, ['%d dny', '%d dny', '%d dní']);}, |
||||
month: function(n, d) {return f(n, d, ['%d měsícem', '%d měsíc']);}, |
||||
months: function(n, d) {return f(n, d, ['%d měsíci', '%d měsíce', '%d měsíců']);}, |
||||
year: function(n, d) {return f(n, d, ['%d rokem', '%d rok']);}, |
||||
years: function(n, d) {return f(n, d, ['%d lety', '%d roky', '%d let']);} |
||||
}; |
||||
})(); |
@ -1,20 +0,0 @@ |
||||
// Welsh
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "yn ôl", |
||||
suffixFromNow: "o hyn", |
||||
seconds: "llai na munud", |
||||
minute: "am funud", |
||||
minutes: "%d munud", |
||||
hour: "tua awr", |
||||
hours: "am %d awr", |
||||
day: "y dydd", |
||||
days: "%d diwrnod", |
||||
month: "tua mis", |
||||
months: "%d mis", |
||||
year: "am y flwyddyn", |
||||
years: "%d blynedd", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// Danish
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "for", |
||||
prefixFromNow: "om", |
||||
suffixAgo: "siden", |
||||
suffixFromNow: "", |
||||
seconds: "mindre end et minut", |
||||
minute: "ca. et minut", |
||||
minutes: "%d minutter", |
||||
hour: "ca. en time", |
||||
hours: "ca. %d timer", |
||||
day: "en dag", |
||||
days: "%d dage", |
||||
month: "ca. en måned", |
||||
months: "%d måneder", |
||||
year: "ca. et år", |
||||
years: "%d år" |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// German
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "vor", |
||||
prefixFromNow: "in", |
||||
suffixAgo: "", |
||||
suffixFromNow: "", |
||||
seconds: "wenigen Sekunden", |
||||
minute: "etwa einer Minute", |
||||
minutes: "%d Minuten", |
||||
hour: "etwa einer Stunde", |
||||
hours: "%d Stunden", |
||||
day: "etwa einem Tag", |
||||
days: "%d Tagen", |
||||
month: "etwa einem Monat", |
||||
months: "%d Monaten", |
||||
year: "etwa einem Jahr", |
||||
years: "%d Jahren" |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// Greek
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "πριν", |
||||
prefixFromNow: "σε", |
||||
suffixAgo: "", |
||||
suffixFromNow: "", |
||||
seconds: "λιγότερο από ένα λεπτό", |
||||
minute: "περίπου ένα λεπτό", |
||||
minutes: "%d λεπτά", |
||||
hour: "περίπου μία ώρα", |
||||
hours: "περίπου %d ώρες", |
||||
day: "μία μέρα", |
||||
days: "%d μέρες", |
||||
month: "περίπου ένα μήνα", |
||||
months: "%d μήνες", |
||||
year: "περίπου ένα χρόνο", |
||||
years: "%d χρόνια" |
||||
}; |
@ -1,20 +0,0 @@ |
||||
// English shortened
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "", |
||||
suffixFromNow: "", |
||||
seconds: "1m", |
||||
minute: "1m", |
||||
minutes: "%dm", |
||||
hour: "1h", |
||||
hours: "%dh", |
||||
day: "1d", |
||||
days: "%dd", |
||||
month: "1mo", |
||||
months: "%dmo", |
||||
year: "1yr", |
||||
years: "%dyr", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
}; |
@ -1,20 +0,0 @@ |
||||
// English (Template)
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "ago", |
||||
suffixFromNow: "from now", |
||||
seconds: "less than a minute", |
||||
minute: "about a minute", |
||||
minutes: "%d minutes", |
||||
hour: "about an hour", |
||||
hours: "about %d hours", |
||||
day: "a day", |
||||
days: "%d days", |
||||
month: "about a month", |
||||
months: "%d months", |
||||
year: "about a year", |
||||
years: "%d years", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
}; |
@ -1,20 +0,0 @@ |
||||
// Spanish shortened
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "", |
||||
suffixFromNow: "", |
||||
seconds: "1m", |
||||
minute: "1m", |
||||
minutes: "%dm", |
||||
hour: "1h", |
||||
hours: "%dh", |
||||
day: "1d", |
||||
days: "%dd", |
||||
month: "1me", |
||||
months: "%dme", |
||||
year: "1a", |
||||
years: "%da", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// Spanish
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "hace", |
||||
prefixFromNow: "dentro de", |
||||
suffixAgo: "", |
||||
suffixFromNow: "", |
||||
seconds: "menos de un minuto", |
||||
minute: "un minuto", |
||||
minutes: "unos %d minutos", |
||||
hour: "una hora", |
||||
hours: "%d horas", |
||||
day: "un día", |
||||
days: "%d días", |
||||
month: "un mes", |
||||
months: "%d meses", |
||||
year: "un año", |
||||
years: "%d años" |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// Estonian
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "tagasi", |
||||
suffixFromNow: "pärast", |
||||
seconds: function(n, d) { return d < 0 ? "vähem kui minuti aja" : "vähem kui minut aega"; }, |
||||
minute: function(n, d) { return d < 0 ? "umbes minuti aja" : "umbes minut aega"; }, |
||||
minutes: function(n, d) { return d < 0 ? "%d minuti" : "%d minutit"; }, |
||||
hour: function(n, d) { return d < 0 ? "umbes tunni aja" : "umbes tund aega"; }, |
||||
hours: function(n, d) { return d < 0 ? "%d tunni" : "%d tundi"; }, |
||||
day: function(n, d) { return d < 0 ? "umbes päeva" : "umbes päev"; }, |
||||
days: function(n, d) { return d < 0 ? "%d päeva" : "%d päeva"; }, |
||||
month: function(n, d) { return d < 0 ? "umbes kuu aja" : "umbes kuu aega"; }, |
||||
months: function(n, d) { return d < 0 ? "%d kuu" : "%d kuud"; }, |
||||
year: function(n, d) { return d < 0 ? "umbes aasta aja" : "umbes aasta aega"; }, |
||||
years: function(n, d) { return d < 0 ? "%d aasta" : "%d aastat"; } |
||||
}; |
@ -1,28 +0,0 @@ |
||||
// Finnish
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "sitten", |
||||
suffixFromNow: "tulevaisuudessa", |
||||
seconds: "alle minuutti", |
||||
minute: "minuutti", |
||||
minutes: "%d minuuttia", |
||||
hour: "tunti", |
||||
hours: "%d tuntia", |
||||
day: "päivä", |
||||
days: "%d päivää", |
||||
month: "kuukausi", |
||||
months: "%d kuukautta", |
||||
year: "vuosi", |
||||
years: "%d vuotta" |
||||
}; |
||||
|
||||
// The above is not a great localization because one would usually
|
||||
// write "2 days ago" in Finnish as "2 päivää sitten", however
|
||||
// one would write "2 days into the future" as "2:n päivän päästä"
|
||||
// which cannot be achieved with localization support this simple.
|
||||
// This is because Finnish has word suffixes (attached directly
|
||||
// to the end of the word). The word "day" is "päivä" in Finnish.
|
||||
// As workaround, the above localizations will say
|
||||
// "2 päivää tulevaisuudessa" which is understandable but
|
||||
// not as fluent.
|
@ -1,16 +0,0 @@ |
||||
// French shortened
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "il y a", |
||||
prefixFromNow: "d'ici", |
||||
seconds: "moins d'une minute", |
||||
minute: "une minute", |
||||
minutes: "%d minutes", |
||||
hour: "une heure", |
||||
hours: "%d heures", |
||||
day: "un jour", |
||||
days: "%d jours", |
||||
month: "un mois", |
||||
months: "%d mois", |
||||
year: "un an", |
||||
years: "%d ans" |
||||
}; |
@ -1,17 +0,0 @@ |
||||
// French
|
||||
jQuery.timeago.settings.strings = { |
||||
// environ ~= about, it's optional
|
||||
prefixAgo: "il y a", |
||||
prefixFromNow: "d'ici", |
||||
seconds: "moins d'une minute", |
||||
minute: "environ une minute", |
||||
minutes: "environ %d minutes", |
||||
hour: "environ une heure", |
||||
hours: "environ %d heures", |
||||
day: "environ un jour", |
||||
days: "environ %d jours", |
||||
month: "environ un mois", |
||||
months: "environ %d mois", |
||||
year: "un an", |
||||
years: "%d ans" |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// Galician
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "hai", |
||||
prefixFromNow: "dentro de", |
||||
suffixAgo: "", |
||||
suffixFromNow: "", |
||||
seconds: "menos dun minuto", |
||||
minute: "un minuto", |
||||
minutes: "uns %d minutos", |
||||
hour: "unha hora", |
||||
hours: "%d horas", |
||||
day: "un día", |
||||
days: "%d días", |
||||
month: "un mes", |
||||
months: "%d meses", |
||||
year: "un ano", |
||||
years: "%d anos" |
||||
}; |
@ -1,16 +0,0 @@ |
||||
// Hebrew
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "לפני", |
||||
prefixFromNow: "עוד", |
||||
seconds: "פחות מדקה", |
||||
minute: "דקה", |
||||
minutes: "%d דקות", |
||||
hour: "שעה", |
||||
hours: function(number){return (number==2) ? "שעתיים" : "%d שעות";}, |
||||
day: "יום", |
||||
days: function(number){return (number==2) ? "יומיים" : "%d ימים";}, |
||||
month: "חודש", |
||||
months: function(number){return (number==2) ? "חודשיים" : "%d חודשים";}, |
||||
year: "שנה", |
||||
years: function(number){return (number==2) ? "שנתיים" : "%d שנים";} |
||||
}; |
@ -1,49 +0,0 @@ |
||||
// Croatian
|
||||
(function () { |
||||
var numpf; |
||||
|
||||
numpf = function (n, f, s, t) { |
||||
var n10; |
||||
n10 = n % 10; |
||||
if (n10 === 1 && (n === 1 || n > 20)) { |
||||
return f; |
||||
} else if (n10 > 1 && n10 < 5 && (n > 20 || n < 10)) { |
||||
return s; |
||||
} else { |
||||
return t; |
||||
} |
||||
}; |
||||
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "prije", |
||||
prefixFromNow: "za", |
||||
suffixAgo: null, |
||||
suffixFromNow: null, |
||||
second: "sekundu", |
||||
seconds: function (value) { |
||||
return numpf(value, "%d sekundu", "%d sekunde", "%d sekundi"); |
||||
}, |
||||
minute: "oko minutu", |
||||
minutes: function (value) { |
||||
return numpf(value, "%d minutu", "%d minute", "%d minuta"); |
||||
}, |
||||
hour: "oko jedan sat", |
||||
hours: function (value) { |
||||
return numpf(value, "%d sat", "%d sata", "%d sati"); |
||||
}, |
||||
day: "jedan dan", |
||||
days: function (value) { |
||||
return numpf(value, "%d dan", "%d dana", "%d dana"); |
||||
}, |
||||
month: "mjesec dana", |
||||
months: function (value) { |
||||
return numpf(value, "%d mjesec", "%d mjeseca", "%d mjeseci"); |
||||
}, |
||||
year: "prije godinu dana", |
||||
years: function (value) { |
||||
return numpf(value, "%d godinu", "%d godine", "%d godina"); |
||||
}, |
||||
wordSeparator: " " |
||||
}; |
||||
|
||||
}).call(this); |
@ -1,18 +0,0 @@ |
||||
// Hungarian
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: null, |
||||
suffixFromNow: null, |
||||
seconds: "kevesebb mint egy perce", |
||||
minute: "körülbelül egy perce", |
||||
minutes: "%d perce", |
||||
hour: "körülbelül egy órája", |
||||
hours: "körülbelül %d órája", |
||||
day: "körülbelül egy napja", |
||||
days: "%d napja", |
||||
month: "körülbelül egy hónapja", |
||||
months: "%d hónapja", |
||||
year: "körülbelül egy éve", |
||||
years: "%d éve" |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// Armenian
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "առաջ", |
||||
suffixFromNow: "հետո", |
||||
seconds: "վայրկյաններ", |
||||
minute: "մեկ րոպե", |
||||
minutes: "%d րոպե", |
||||
hour: "մեկ ժամ", |
||||
hours: "%d ժամ", |
||||
day: "մեկ օր", |
||||
days: "%d օր", |
||||
month: "մեկ ամիս", |
||||
months: "%d ամիս", |
||||
year: "մեկ տարի", |
||||
years: "%d տարի" |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// Indonesian
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "yang lalu", |
||||
suffixFromNow: "dari sekarang", |
||||
seconds: "kurang dari semenit", |
||||
minute: "sekitar satu menit", |
||||
minutes: "%d menit", |
||||
hour: "sekitar sejam", |
||||
hours: "sekitar %d jam", |
||||
day: "sehari", |
||||
days: "%d hari", |
||||
month: "sekitar sebulan", |
||||
months: "%d bulan", |
||||
year: "sekitar setahun", |
||||
years: "%d tahun" |
||||
}; |
@ -1,19 +0,0 @@ |
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "fyrir", |
||||
prefixFromNow: "eftir", |
||||
suffixAgo: "síðan", |
||||
suffixFromNow: null, |
||||
seconds: "minna en mínútu", |
||||
minute: "mínútu", |
||||
minutes: "%d mínútum", |
||||
hour: "klukkutíma", |
||||
hours: "um %d klukkutímum", |
||||
day: "degi", |
||||
days: "%d dögum", |
||||
month: "mánuði", |
||||
months: "%d mánuðum", |
||||
year: "ári", |
||||
years: "%d árum", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
}; |
@ -1,20 +0,0 @@ |
||||
// Italian shortened
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "", |
||||
suffixFromNow: "", |
||||
seconds: "1m", |
||||
minute: "1m", |
||||
minutes: "%dm", |
||||
hour: "1h", |
||||
hours: "%dh", |
||||
day: "1g", |
||||
days: "%dg", |
||||
month: "1me", |
||||
months: "%dme", |
||||
year: "1a", |
||||
years: "%da", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
}; |
@ -1,16 +0,0 @@ |
||||
// Italian
|
||||
jQuery.timeago.settings.strings = { |
||||
suffixAgo: "fa", |
||||
suffixFromNow: "da ora", |
||||
seconds: "meno di un minuto", |
||||
minute: "circa un minuto", |
||||
minutes: "%d minuti", |
||||
hour: "circa un'ora", |
||||
hours: "circa %d ore", |
||||
day: "un giorno", |
||||
days: "%d giorni", |
||||
month: "circa un mese", |
||||
months: "%d mesi", |
||||
year: "circa un anno", |
||||
years: "%d anni" |
||||
}; |
@ -1,19 +0,0 @@ |
||||
// Japanese
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "", |
||||
prefixFromNow: "今から", |
||||
suffixAgo: "前", |
||||
suffixFromNow: "後", |
||||
seconds: "1 分未満", |
||||
minute: "約 1 分", |
||||
minutes: "%d 分", |
||||
hour: "約 1 時間", |
||||
hours: "約 %d 時間", |
||||
day: "約 1 日", |
||||
days: "約 %d 日", |
||||
month: "約 1 月", |
||||
months: "約 %d 月", |
||||
year: "約 1 年", |
||||
years: "約 %d 年", |
||||
wordSeparator: "" |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// Javanesse (Boso Jowo)
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "kepungkur", |
||||
suffixFromNow: "seko saiki", |
||||
seconds: "kurang seko sakmenit", |
||||
minute: "kurang luwih sakmenit", |
||||
minutes: "%d menit", |
||||
hour: "kurang luwih sakjam", |
||||
hours: "kurang luwih %d jam", |
||||
day: "sedina", |
||||
days: "%d dina", |
||||
month: "kurang luwih sewulan", |
||||
months: "%d wulan", |
||||
year: "kurang luwih setahun", |
||||
years: "%d tahun" |
||||
}; |
@ -1,20 +0,0 @@ |
||||
// Korean
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "전", |
||||
suffixFromNow: "후", |
||||
seconds: "1분", |
||||
minute: "약 1분", |
||||
minutes: "%d분", |
||||
hour: "약 1시간", |
||||
hours: "약 %d시간", |
||||
day: "하루", |
||||
days: "%d일", |
||||
month: "약 1개월", |
||||
months: "%d개월", |
||||
year: "약 1년", |
||||
years: "%d년", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
}; |
@ -1,34 +0,0 @@ |
||||
// Russian
|
||||
(function() { |
||||
function numpf(n, f, s, t) { |
||||
// f - 1, 21, 31, ...
|
||||
// s - 2-4, 22-24, 32-34 ...
|
||||
// t - 5-20, 25-30, ...
|
||||
var n10 = n % 10; |
||||
if ( (n10 == 1) && ( (n == 1) || (n > 20) ) ) { |
||||
return f; |
||||
} else if ( (n10 > 1) && (n10 < 5) && ( (n > 20) || (n < 10) ) ) { |
||||
return s; |
||||
} else { |
||||
return t; |
||||
} |
||||
} |
||||
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: "через", |
||||
suffixAgo: "мурун", |
||||
suffixFromNow: null, |
||||
seconds: "1 минуттан аз", |
||||
minute: "минута", |
||||
minutes: function(value) { return numpf(value, "%d минута", "%d минута", "%d минут"); }, |
||||
hour: "саат", |
||||
hours: function(value) { return numpf(value, "%d саат", "%d саат", "%d саат"); }, |
||||
day: "күн", |
||||
days: function(value) { return numpf(value, "%d күн", "%d күн", "%d күн"); }, |
||||
month: "ай", |
||||
months: function(value) { return numpf(value, "%d ай", "%d ай", "%d ай"); }, |
||||
year: "жыл", |
||||
years: function(value) { return numpf(value, "%d жыл", "%d жыл", "%d жыл"); } |
||||
}; |
||||
})(); |
@ -1,20 +0,0 @@ |
||||
//Lithuanian
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "prieš", |
||||
prefixFromNow: null, |
||||
suffixAgo: null, |
||||
suffixFromNow: "nuo dabar", |
||||
seconds: "%d sek.", |
||||
minute: "min.", |
||||
minutes: "%d min.", |
||||
hour: "val.", |
||||
hours: "%d val.", |
||||
day: "1 d.", |
||||
days: "%d d.", |
||||
month: "mėn.", |
||||
months: "%d mėn.", |
||||
year: "metus", |
||||
years: "%d metus", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
}; |
@ -1,20 +0,0 @@ |
||||
// Macedonian
|
||||
(function() { |
||||
jQuery.timeago.settings.strings={ |
||||
prefixAgo: "пред", |
||||
prefixFromNow: "за", |
||||
suffixAgo: null, |
||||
suffixFromNow: null, |
||||
seconds: "%d секунди", |
||||
minute: "%d минута", |
||||
minutes: "%d минути", |
||||
hour: "%d час", |
||||
hours: "%d часа", |
||||
day: "%d ден", |
||||
days: "%d денови" , |
||||
month: "%d месец", |
||||
months: "%d месеци", |
||||
year: "%d година", |
||||
years: "%d години" |
||||
}; |
||||
})(); |
@ -1,20 +0,0 @@ |
||||
// Dutch
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: "over", |
||||
suffixAgo: "geleden", |
||||
suffixFromNow: null, |
||||
seconds: "minder dan een minuut", |
||||
minute: "ongeveer een minuut", |
||||
minutes: "%d minuten", |
||||
hour: "ongeveer een uur", |
||||
hours: "ongeveer %d uur", |
||||
day: "een dag", |
||||
days: "%d dagen", |
||||
month: "ongeveer een maand", |
||||
months: "%d maanden", |
||||
year: "ongeveer een jaar", |
||||
years: "%d jaar", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// Norwegian
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "for", |
||||
prefixFromNow: "om", |
||||
suffixAgo: "siden", |
||||
suffixFromNow: "", |
||||
seconds: "mindre enn et minutt", |
||||
minute: "ca. et minutt", |
||||
minutes: "%d minutter", |
||||
hour: "ca. en time", |
||||
hours: "ca. %d timer", |
||||
day: "en dag", |
||||
days: "%d dager", |
||||
month: "ca. en måned", |
||||
months: "%d måneder", |
||||
year: "ca. et år", |
||||
years: "%d år" |
||||
}; |
@ -1,31 +0,0 @@ |
||||
// Polish
|
||||
(function() { |
||||
function numpf(n, s, t) { |
||||
// s - 2-4, 22-24, 32-34 ...
|
||||
// t - 5-21, 25-31, ...
|
||||
var n10 = n % 10; |
||||
if ( (n10 > 1) && (n10 < 5) && ( (n > 20) || (n < 10) ) ) { |
||||
return s; |
||||
} else { |
||||
return t; |
||||
} |
||||
} |
||||
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: "za", |
||||
suffixAgo: "temu", |
||||
suffixFromNow: null, |
||||
seconds: "mniej niż minutę", |
||||
minute: "minutę", |
||||
minutes: function(value) { return numpf(value, "%d minuty", "%d minut"); }, |
||||
hour: "godzinę", |
||||
hours: function(value) { return numpf(value, "%d godziny", "%d godzin"); }, |
||||
day: "dzień", |
||||
days: "%d dni", |
||||
month: "miesiąc", |
||||
months: function(value) { return numpf(value, "%d miesiące", "%d miesięcy"); }, |
||||
year: "rok", |
||||
years: function(value) { return numpf(value, "%d lata", "%d lat"); } |
||||
}; |
||||
})(); |
@ -1,20 +0,0 @@ |
||||
// Portuguese Brasil shortened
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: null, |
||||
suffixAgo: "", |
||||
suffixFromNow: "", |
||||
seconds: "1m", |
||||
minute: "1m", |
||||
minutes: "%dm", |
||||
hour: "1h", |
||||
hours: "%dh", |
||||
day: "1d", |
||||
days: "%dd", |
||||
month: "1M", |
||||
months: "%dM", |
||||
year: "1a", |
||||
years: "%da", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// Brazilian Portuguese
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "há", |
||||
prefixFromNow: "em", |
||||
suffixAgo: null, |
||||
suffixFromNow: null, |
||||
seconds: "alguns segundos", |
||||
minute: "um minuto", |
||||
minutes: "%d minutos", |
||||
hour: "uma hora", |
||||
hours: "%d horas", |
||||
day: "um dia", |
||||
days: "%d dias", |
||||
month: "um mês", |
||||
months: "%d meses", |
||||
year: "um ano", |
||||
years: "%d anos" |
||||
}; |
@ -1,16 +0,0 @@ |
||||
// Portuguese
|
||||
jQuery.timeago.settings.strings = { |
||||
suffixAgo: "atrás", |
||||
suffixFromNow: "a partir de agora", |
||||
seconds: "menos de um minuto", |
||||
minute: "cerca de um minuto", |
||||
minutes: "%d minutos", |
||||
hour: "cerca de uma hora", |
||||
hours: "cerca de %d horas", |
||||
day: "um dia", |
||||
days: "%d dias", |
||||
month: "cerca de um mês", |
||||
months: "%d meses", |
||||
year: "cerca de um ano", |
||||
years: "%d anos" |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// Romanian
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "acum", |
||||
prefixFromNow: "in timp de", |
||||
suffixAgo: "", |
||||
suffixFromNow: "", |
||||
seconds: "mai putin de un minut", |
||||
minute: "un minut", |
||||
minutes: "%d minute", |
||||
hour: "o ora", |
||||
hours: "%d ore", |
||||
day: "o zi", |
||||
days: "%d zile", |
||||
month: "o luna", |
||||
months: "%d luni", |
||||
year: "un an", |
||||
years: "%d ani" |
||||
}; |
@ -1,49 +0,0 @@ |
||||
// Serbian
|
||||
(function () { |
||||
var numpf; |
||||
|
||||
numpf = function (n, f, s, t) { |
||||
var n10; |
||||
n10 = n % 10; |
||||
if (n10 === 1 && (n === 1 || n > 20)) { |
||||
return f; |
||||
} else if (n10 > 1 && n10 < 5 && (n > 20 || n < 10)) { |
||||
return s; |
||||
} else { |
||||
return t; |
||||
} |
||||
}; |
||||
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "pre", |
||||
prefixFromNow: "za", |
||||
suffixAgo: null, |
||||
suffixFromNow: null, |
||||
second: "sekund", |
||||
seconds: function (value) { |
||||
return numpf(value, "%d sekund", "%d sekunde", "%d sekundi"); |
||||
}, |
||||
minute: "oko minut", |
||||
minutes: function (value) { |
||||
return numpf(value, "%d minut", "%d minuta", "%d minuta"); |
||||
}, |
||||
hour: "oko jedan sat", |
||||
hours: function (value) { |
||||
return numpf(value, "%d sat", "%d sata", "%d sati"); |
||||
}, |
||||
day: "jedan dan", |
||||
days: function (value) { |
||||
return numpf(value, "%d dan", "%d dana", "%d dana"); |
||||
}, |
||||
month: "mesec dana", |
||||
months: function (value) { |
||||
return numpf(value, "%d mesec", "%d meseca", "%d meseci"); |
||||
}, |
||||
year: "godinu dana", |
||||
years: function (value) { |
||||
return numpf(value, "%d godinu", "%d godine", "%d godina"); |
||||
}, |
||||
wordSeparator: " " |
||||
}; |
||||
|
||||
}).call(this); |
@ -1,34 +0,0 @@ |
||||
// Russian
|
||||
(function() { |
||||
function numpf(n, f, s, t) { |
||||
// f - 1, 21, 31, ...
|
||||
// s - 2-4, 22-24, 32-34 ...
|
||||
// t - 5-20, 25-30, ...
|
||||
var n10 = n % 10; |
||||
if ( (n10 == 1) && ( (n == 1) || (n > 20) ) ) { |
||||
return f; |
||||
} else if ( (n10 > 1) && (n10 < 5) && ( (n > 20) || (n < 10) ) ) { |
||||
return s; |
||||
} else { |
||||
return t; |
||||
} |
||||
} |
||||
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: "через", |
||||
suffixAgo: "назад", |
||||
suffixFromNow: null, |
||||
seconds: "меньше минуты", |
||||
minute: "минуту", |
||||
minutes: function(value) { return numpf(value, "%d минута", "%d минуты", "%d минут"); }, |
||||
hour: "час", |
||||
hours: function(value) { return numpf(value, "%d час", "%d часа", "%d часов"); }, |
||||
day: "день", |
||||
days: function(value) { return numpf(value, "%d день", "%d дня", "%d дней"); }, |
||||
month: "месяц", |
||||
months: function(value) { return numpf(value, "%d месяц", "%d месяца", "%d месяцев"); }, |
||||
year: "год", |
||||
years: function(value) { return numpf(value, "%d год", "%d года", "%d лет"); } |
||||
}; |
||||
})(); |
@ -1,20 +0,0 @@ |
||||
// Kinyarwanda
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "hashize", |
||||
prefixFromNow: "mu", |
||||
suffixAgo: null, |
||||
suffixFromNow: null, |
||||
seconds: "amasegonda macye", |
||||
minute: "umunota", |
||||
minutes: "iminota %d", |
||||
hour: "isaha", |
||||
hours: "amasaha %d", |
||||
day: "umunsi", |
||||
days: "iminsi %d", |
||||
month: "ukwezi", |
||||
months: "amezi %d", |
||||
year: "umwaka", |
||||
years: "imyaka %d", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
}; |
@ -1,18 +0,0 @@ |
||||
// Slovak
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "pred", |
||||
prefixFromNow: null, |
||||
suffixAgo: null, |
||||
suffixFromNow: null, |
||||
seconds: "menej než minútou", |
||||
minute: "minútou", |
||||
minutes: "%d minútami", |
||||
hour: "hodinou", |
||||
hours: "%d hodinami", |
||||
day: "1 dňom", |
||||
days: "%d dňami", |
||||
month: "1 mesiacom", |
||||
months: "%d mesiacmi", |
||||
year: "1 rokom", |
||||
years: "%d rokmi" |
||||
}; |
@ -1,40 +0,0 @@ |
||||
// Slovenian with support for dual
|
||||
(function () { |
||||
var numpf; |
||||
numpf = function (n, a) { |
||||
return a[n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ? 3 : 0]; |
||||
}; |
||||
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: "čez", |
||||
suffixAgo: "nazaj", |
||||
suffixFromNow: null, |
||||
second: "sekundo", |
||||
seconds: function (value) { |
||||
return numpf(value, ["%d sekund", "%d sekundo", "%d sekundi", "%d sekunde"]); |
||||
}, |
||||
minute: "minuto", |
||||
minutes: function (value) { |
||||
return numpf(value, ["%d minut", "%d minuto", "%d minuti", "%d minute"]); |
||||
}, |
||||
hour: "eno uro", |
||||
hours: function (value) { |
||||
return numpf(value, ["%d ur", "%d uro", "%d uri", "%d ure"]); |
||||
}, |
||||
day: "en dan", |
||||
days: function (value) { |
||||
return numpf(value, ["%d dni", "%d dan", "%d dneva", "%d dni"]); |
||||
}, |
||||
month: "en mesec", |
||||
months: function (value) { |
||||
return numpf(value, ["%d mescov", "%d mesec", "%d mesca", "%d mesce"]); |
||||
}, |
||||
year: "eno leto", |
||||
years: function (value) { |
||||
return numpf(value, ["%d let", "%d leto", "%d leti", "%d leta"]); |
||||
}, |
||||
wordSeparator: " " |
||||
}; |
||||
|
||||
}).call(this); |
@ -1,18 +0,0 @@ |
||||
// Swedish
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: "för", |
||||
prefixFromNow: "om", |
||||
suffixAgo: "sedan", |
||||
suffixFromNow: "", |
||||
seconds: "mindre än en minut", |
||||
minute: "ungefär en minut", |
||||
minutes: "%d minuter", |
||||
hour: "ungefär en timme", |
||||
hours: "ungefär %d timmar", |
||||
day: "en dag", |
||||
days: "%d dagar", |
||||
month: "ungefär en månad", |
||||
months: "%d månader", |
||||
year: "ungefär ett år", |
||||
years: "%d år" |
||||
}; |
@ -1,16 +0,0 @@ |
||||
// Turkish
|
||||
jQuery.timeago.settings.strings = { |
||||
suffixAgo: 'önce', |
||||
suffixFromNow: null, |
||||
seconds: '1 dakikadan', |
||||
minute: '1 dakika', |
||||
minutes: '%d dakika', |
||||
hour: '1 saat', |
||||
hours: '%d saat', |
||||
day: '1 gün', |
||||
days: '%d gün', |
||||
month: '1 ay', |
||||
months: '%d ay', |
||||
year: '1 yıl', |
||||
years: '%d yıl' |
||||
}; |
@ -1,34 +0,0 @@ |
||||
// Ukrainian
|
||||
(function() { |
||||
function numpf(n, f, s, t) { |
||||
// f - 1, 21, 31, ...
|
||||
// s - 2-4, 22-24, 32-34 ...
|
||||
// t - 5-20, 25-30, ...
|
||||
var n10 = n % 10; |
||||
if ( (n10 == 1) && ( (n == 1) || (n > 20) ) ) { |
||||
return f; |
||||
} else if ( (n10 > 1) && (n10 < 5) && ( (n > 20) || (n < 10) ) ) { |
||||
return s; |
||||
} else { |
||||
return t; |
||||
} |
||||
} |
||||
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: "через", |
||||
suffixAgo: "тому", |
||||
suffixFromNow: null, |
||||
seconds: "менше хвилини", |
||||
minute: "хвилина", |
||||
minutes: function(value) { return numpf(value, "%d хвилина", "%d хвилини", "%d хвилин"); }, |
||||
hour: "година", |
||||
hours: function(value) { return numpf(value, "%d година", "%d години", "%d годин"); }, |
||||
day: "день", |
||||
days: function(value) { return numpf(value, "%d день", "%d дні", "%d днів"); }, |
||||
month: "місяць", |
||||
months: function(value) { return numpf(value, "%d місяць", "%d місяці", "%d місяців"); }, |
||||
year: "рік", |
||||
years: function(value) { return numpf(value, "%d рік", "%d роки", "%d років"); } |
||||
}; |
||||
})(); |
@ -1,19 +0,0 @@ |
||||
//Uzbek
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: "keyin", |
||||
suffixAgo: "avval", |
||||
suffixFromNow: null, |
||||
seconds: "bir necha soniya", |
||||
minute: "1 daqiqa", |
||||
minutes: function(value) { return "%d daqiqa"; }, |
||||
hour: "1 soat", |
||||
hours: function(value) { return "%d soat"; }, |
||||
day: "1 kun", |
||||
days: function(value) { return "%d kun"; }, |
||||
month: "1 oy", |
||||
months: function(value) { return "%d oy"; }, |
||||
year: "1 yil", |
||||
years: function(value) { return "%d yil"; }, |
||||
wordSeparator: " " |
||||
}; |
@ -1,20 +0,0 @@ |
||||
// Vietnamese
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: 'cách đây', |
||||
prefixFromNow: null, |
||||
suffixAgo: null, |
||||
suffixFromNow: "trước", |
||||
seconds: "chưa đến một phút", |
||||
minute: "khoảng một phút", |
||||
minutes: "%d phút", |
||||
hour: "khoảng một tiếng", |
||||
hours: "khoảng %d tiếng", |
||||
day: "một ngày", |
||||
days: "%d ngày", |
||||
month: "khoảng một tháng", |
||||
months: "%d tháng", |
||||
year: "khoảng một năm", |
||||
years: "%d năm", |
||||
wordSeparator: " ", |
||||
numbers: [] |
||||
}; |
@ -1,20 +0,0 @@ |
||||
// Simplified Chinese
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: "从现在开始", |
||||
suffixAgo: "之前", |
||||
suffixFromNow: null, |
||||
seconds: "不到1分钟", |
||||
minute: "大约1分钟", |
||||
minutes: "%d分钟", |
||||
hour: "大约1小时", |
||||
hours: "大约%d小时", |
||||
day: "1天", |
||||
days: "%d天", |
||||
month: "大约1个月", |
||||
months: "%d月", |
||||
year: "大约1年", |
||||
years: "%d年", |
||||
numbers: [], |
||||
wordSeparator: "" |
||||
}; |
@ -1,20 +0,0 @@ |
||||
// Traditional Chinese, zh-tw
|
||||
jQuery.timeago.settings.strings = { |
||||
prefixAgo: null, |
||||
prefixFromNow: "從現在開始", |
||||
suffixAgo: "之前", |
||||
suffixFromNow: null, |
||||
seconds: "不到1分鐘", |
||||
minute: "大約1分鐘", |
||||
minutes: "%d分鐘", |
||||
hour: "大約1小時", |
||||
hours: "%d小時", |
||||
day: "大約1天", |
||||
days: "%d天", |
||||
month: "大約1個月", |
||||
months: "%d個月", |
||||
year: "大約1年", |
||||
years: "%d年", |
||||
numbers: [], |
||||
wordSeparator: "" |
||||
}; |
@ -1,37 +0,0 @@ |
||||
{ |
||||
"name": "timeago", |
||||
"version": "1.4.3", |
||||
"title": "jQuery Timeago", |
||||
"author": { |
||||
"name": "Ryan McGeary", |
||||
"email": "ryan@mcgeary.org", |
||||
"url": "http://ryan.mcgeary.org/" |
||||
}, |
||||
"licenses": [ |
||||
{ |
||||
"type": "MIT", |
||||
"url": "http://opensource.org/licenses/mit-license.php" |
||||
} |
||||
], |
||||
"dependencies": { |
||||
"jquery": ">=1.2.3" |
||||
}, |
||||
"description": "jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. \"4 minutes ago\" or \"about 1 day ago\").", |
||||
"keywords": [ |
||||
"time", |
||||
"microformat" |
||||
], |
||||
"homepage": "http://timeago.yarp.com/", |
||||
"docs": "https://github.com/rmm5t/jquery-timeago", |
||||
"demo": "http://timeago.yarp.com/", |
||||
"download": "http://timeago.yarp.com/jquery.timeago.js", |
||||
"bugs": "https://github.com/rmm5t/jquery-timeago/issues", |
||||
"maintainers": [], |
||||
"spm": { |
||||
"main": "jquery.timeago.js" |
||||
}, |
||||
"browser": { |
||||
"timeago": "./node_modules/timeago/jquery.timeago.js" |
||||
}, |
||||
"main": "jquery.timeago.js" |
||||
} |
@ -1,30 +0,0 @@ |
||||
{ |
||||
"name": "timeago", |
||||
"version": "1.4.3", |
||||
"title": "jQuery Timeago", |
||||
"author": { |
||||
"name": "Ryan McGeary", |
||||
"email": "ryan@mcgeary.org", |
||||
"url": "http://ryan.mcgeary.org/" |
||||
}, |
||||
"licenses": [ |
||||
{ |
||||
"type": "MIT", |
||||
"url": "http://opensource.org/licenses/mit-license.php" |
||||
} |
||||
], |
||||
"dependencies": { |
||||
"jquery": ">=1.2.3" |
||||
}, |
||||
"description": "jQuery plugin that makes it easy to support automatically updating fuzzy timestamps (e.g. \"4 minutes ago\" or \"about 1 day ago\").", |
||||
"keywords": [ |
||||
"time", |
||||
"microformat" |
||||
], |
||||
"homepage": "http://timeago.yarp.com/", |
||||
"docs": "https://github.com/rmm5t/jquery-timeago", |
||||
"demo": "http://timeago.yarp.com/", |
||||
"download": "http://timeago.yarp.com/jquery.timeago.js", |
||||
"bugs": "https://github.com/rmm5t/jquery-timeago/issues", |
||||
"maintainers": [] |
||||
} |
@ -1,21 +0,0 @@ |
||||
{ |
||||
"name": "jquery-ui", |
||||
"version": "1.11.4", |
||||
"main": [ |
||||
"jquery-ui.js" |
||||
], |
||||
"ignore": [], |
||||
"dependencies": { |
||||
"jquery": ">=1.6" |
||||
}, |
||||
"homepage": "https://github.com/components/jqueryui", |
||||
"_release": "1.11.4", |
||||
"_resolution": { |
||||
"type": "version", |
||||
"tag": "1.11.4", |
||||
"commit": "c34f8dbf3ba57b3784b93f26119f436c0e8288e1" |
||||
}, |
||||
"_source": "https://github.com/components/jqueryui.git", |
||||
"_target": "1.11.*", |
||||
"_originalSource": "jquery-ui" |
||||
} |
@ -1,4 +0,0 @@ |
||||
components |
||||
composer.lock |
||||
vendor |
||||
.DS_Store |
@ -1,284 +0,0 @@ |
||||
Authors ordered by first contribution |
||||
A list of current team members is available at http://jqueryui.com/about |
||||
|
||||
Paul Bakaus <paul.bakaus@gmail.com> |
||||
Richard Worth <rdworth@gmail.com> |
||||
Yehuda Katz <wycats@gmail.com> |
||||
Sean Catchpole <sean@sunsean.com> |
||||
John Resig <jeresig@gmail.com> |
||||
Tane Piper <piper.tane@gmail.com> |
||||
Dmitri Gaskin <dmitrig01@gmail.com> |
||||
Klaus Hartl <klaus.hartl@gmail.com> |
||||
Stefan Petre <stefan.petre@gmail.com> |
||||
Gilles van den Hoven <gilles@webunity.nl> |
||||
Micheil Bryan Smith <micheil@brandedcode.com> |
||||
Jörn Zaefferer <joern.zaefferer@gmail.com> |
||||
Marc Grabanski <m@marcgrabanski.com> |
||||
Keith Wood <kbwood@iinet.com.au> |
||||
Brandon Aaron <brandon.aaron@gmail.com> |
||||
Scott González <scott.gonzalez@gmail.com> |
||||
Eduardo Lundgren <eduardolundgren@gmail.com> |
||||
Aaron Eisenberger <aaronchi@gmail.com> |
||||
Joan Piedra <theneojp@gmail.com> |
||||
Bruno Basto <b.basto@gmail.com> |
||||
Remy Sharp <remy@leftlogic.com> |
||||
Bohdan Ganicky <bohdan.ganicky@gmail.com> |
||||
David Bolter <david.bolter@gmail.com> |
||||
Chi Cheng <cloudream@gmail.com> |
||||
Ca-Phun Ung <pazu2k@gmail.com> |
||||
Ariel Flesler <aflesler@gmail.com> |
||||
Maggie Wachs <maggie@filamentgroup.com> |
||||
Scott Jehl <scott@scottjehl.com> |
||||
Todd Parker <todd@filamentgroup.com> |
||||
Andrew Powell <andrew@shellscape.org> |
||||
Brant Burnett <btburnett3@gmail.com> |
||||
Douglas Neiner <doug@dougneiner.com> |
||||
Paul Irish <paul.irish@gmail.com> |
||||
Ralph Whitbeck <ralph.whitbeck@gmail.com> |
||||
Thibault Duplessis <thibault.duplessis@gmail.com> |
||||
Dominique Vincent <dominique.vincent@toitl.com> |
||||
Jack Hsu <jack.hsu@gmail.com> |
||||
Adam Sontag <ajpiano@ajpiano.com> |
||||
Carl Fürstenberg <carl@excito.com> |
||||
Kevin Dalman <development@allpro.net> |
||||
Alberto Fernández Capel <afcapel@gmail.com> |
||||
Jacek Jędrzejewski (http://jacek.jedrzejewski.name) |
||||
Ting Kuei <ting@kuei.com> |
||||
Samuel Cormier-Iijima <sam@chide.it> |
||||
Jon Palmer <jonspalmer@gmail.com> |
||||
Ben Hollis <bhollis@amazon.com> |
||||
Justin MacCarthy <Justin@Rubystars.biz> |
||||
Eyal Kobrigo <kobrigo@hotmail.com> |
||||
Tiago Freire <tiago.freire@gmail.com> |
||||
Diego Tres <diegotres@gmail.com> |
||||
Holger Rüprich <holger@rueprich.de> |
||||
Ziling Zhao <zizhao@cisco.com> |
||||
Mike Alsup <malsup@gmail.com> |
||||
Robson Braga Araujo <robsonbraga@gmail.com> |
||||
Pierre-Henri Ausseil <ph.ausseil@gmail.com> |
||||
Christopher McCulloh <cmcculloh@gmail.com> |
||||
Andrew Newcomb <ext.github@preceptsoftware.co.uk> |
||||
Lim Chee Aun <cheeaun@gmail.com> |
||||
Jorge Barreiro <yortx.barry@gmail.com> |
||||
Daniel Steigerwald <daniel@steigerwald.cz> |
||||
John Firebaugh <john_firebaugh@bigfix.com> |
||||
John Enters <github@darkdark.net> |
||||
Andrey Kapitcyn <ru.m157y@gmail.com> |
||||
Dmitry Petrov <dpetroff@gmail.com> |
||||
Eric Hynds <eric@hynds.net> |
||||
Chairat Sunthornwiphat <pipo@sixhead.com> |
||||
Josh Varner <josh.varner@gmail.com> |
||||
Stéphane Raimbault <stephane.raimbault@gmail.com> |
||||
Jay Merrifield <fracmak@gmail.com> |
||||
J. Ryan Stinnett <jryans@gmail.com> |
||||
Peter Heiberg <peter@heiberg.se> |
||||
Alex Dovenmuehle <adovenmuehle@gmail.com> |
||||
Jamie Gegerson <git@jamiegegerson.com> |
||||
Raymond Schwartz <skeetergraphics@gmail.com> |
||||
Phillip Barnes <philbar@gmail.com> |
||||
Kyle Wilkinson <kai@wikyd.org> |
||||
Khaled AlHourani <me@khaledalhourani.com> |
||||
Marian Rudzynski <mr@impaled.org> |
||||
Jean-Francois Remy <jeff@melix.org> |
||||
Doug Blood |
||||
Filippo Cavallarin <filippo.cavallarin@codseq.it> |
||||
Heiko Henning <heiko@thehennings.ch> |
||||
Aliaksandr Rahalevich <saksmlz@gmail.com> |
||||
Mario Visic <mario@mariovisic.com> |
||||
Xavi Ramirez <xavi.rmz@gmail.com> |
||||
Max Schnur <max.schnur@gmail.com> |
||||
Saji Nediyanchath <saji89@gmail.com> |
||||
Corey Frang <gnarf37@gmail.com> |
||||
Aaron Peterson <aaronp123@yahoo.com> |
||||
Ivan Peters <ivan@ivanpeters.com> |
||||
Mohamed Cherif Bouchelaghem <cherifbouchelaghem@yahoo.fr> |
||||
Marcos Sousa <falecomigo@marcossousa.com> |
||||
Michael DellaNoce <mdellanoce@mailtrust.com> |
||||
George Marshall <echosx@gmail.com> |
||||
Tobias Brunner <tobias@strongswan.org> |
||||
Martin Solli <msolli@gmail.com> |
||||
David Petersen <public@petersendidit.com> |
||||
Dan Heberden <danheberden@gmail.com> |
||||
William Kevin Manire <williamkmanire@gmail.com> |
||||
Gilmore Davidson <gilmoreorless@gmail.com> |
||||
Michael Wu <michaelmwu@gmail.com> |
||||
Adam Parod <mystic414@gmail.com> |
||||
Guillaume Gautreau <guillaume+github@ghusse.com> |
||||
Marcel Toele <EleotleCram@gmail.com> |
||||
Dan Streetman <ddstreet@ieee.org> |
||||
Matt Hoskins <matt@nipltd.com> |
||||
Giovanni Giacobbi <giovanni@giacobbi.net> |
||||
Kyle Florence <kyle.florence@gmail.com> |
||||
Pavol Hluchý <lopo@losys.sk> |
||||
Hans Hillen <hans.hillen@gmail.com> |
||||
Mark Johnson <virgofx@live.com> |
||||
Trey Hunner <treyhunner@gmail.com> |
||||
Shane Whittet <whittet@gmail.com> |
||||
Edward A Faulkner <ef@alum.mit.edu> |
||||
Adam Baratz <adam@adambaratz.com> |
||||
Kato Kazuyoshi <kato.kazuyoshi@gmail.com> |
||||
Eike Send <eike.send@gmail.com> |
||||
Kris Borchers <kris.borchers@gmail.com> |
||||
Eddie Monge <eddie@eddiemonge.com> |
||||
Israel Tsadok <itsadok@gmail.com> |
||||
Carson McDonald <carson@ioncannon.net> |
||||
Jason Davies <jason@jasondavies.com> |
||||
Garrison Locke <gplocke@gmail.com> |
||||
David Murdoch <david@davidmurdoch.com> |
||||
Benjamin Scott Boyle <benjamins.boyle@gmail.com> |
||||
Jesse Baird <jebaird@gmail.com> |
||||
Jonathan Vingiano <jvingiano@gmail.com> |
||||
Dylan Just <dev@ephox.com> |
||||
Hiroshi Tomita <tomykaira@gmail.com> |
||||
Glenn Goodrich <glenn.goodrich@gmail.com> |
||||
Tarafder Ashek-E-Elahi <mail.ashek@gmail.com> |
||||
Ryan Neufeld <ryan@neufeldmail.com> |
||||
Marc Neuwirth <marc.neuwirth@gmail.com> |
||||
Philip Graham <philip.robert.graham@gmail.com> |
||||
Benjamin Sterling <benjamin.sterling@kenzomedia.com> |
||||
Wesley Walser <waw325@gmail.com> |
||||
Kouhei Sutou <kou@clear-code.com> |
||||
Karl Kirch <karlkrch@gmail.com> |
||||
Chris Kelly <ckdake@ckdake.com> |
||||
Jay Oster <jay@loyalize.com> |
||||
Alexander Polomoshnov <alex.polomoshnov@gmail.com> |
||||
David Leal <dgleal@gmail.com> |
||||
Igor Milla <igor.fsp.milla@gmail.com> |
||||
Dave Methvin <dave.methvin@gmail.com> |
||||
Florian Gutmann <f.gutmann@chronimo.com> |
||||
Marwan Al Jubeh <marwan.aljubeh@gmail.com> |
||||
Milan Broum <midlis@googlemail.com> |
||||
Sebastian Sauer <info@dynpages.de> |
||||
Gaëtan Muller <m.gaetan89@gmail.com> |
||||
William Griffiths <william@ycymro.com> |
||||
Stojce Slavkovski <stojce@gmail.com> |
||||
David Soms <david.soms@gmail.com> |
||||
David De Sloovere <david.desloovere@outlook.com> |
||||
Michael P. Jung <michael.jung@terreon.de> |
||||
Shannon Pekary <spekary@gmail.com> |
||||
Matthew Edward Hutton <meh@corefiling.co.uk> |
||||
James Khoury <james@jameskhoury.com> |
||||
Rob Loach <robloach@gmail.com> |
||||
Alberto Monteiro <betimbrasil@gmail.com> |
||||
Alex Rhea <alex.rhea@gmail.com> |
||||
Krzysztof Rosiński <rozwell69@gmail.com> |
||||
Ryan Olton <oltonr@gmail.com> |
||||
Genie <386@mail.com> |
||||
Rick Waldron <waldron.rick@gmail.com> |
||||
Ian Simpson <spoonlikesham@gmail.com> |
||||
Lev Kitsis <spam4lev@gmail.com> |
||||
TJ VanToll <tj.vantoll@gmail.com> |
||||
Justin Domnitz <jdomnitz@gmail.com> |
||||
Douglas Cerna <douglascerna@yahoo.com> |
||||
Bert ter Heide <bertjh@hotmail.com> |
||||
Jasvir Nagra <jasvir@gmail.com> |
||||
Yuriy Khabarov <13real008@gmail.com> |
||||
Harri Kilpiö <harri.kilpio@gmail.com> |
||||
Lado Lomidze <lado.lomidze@gmail.com> |
||||
Amir E. Aharoni <amir.aharoni@mail.huji.ac.il> |
||||
Simon Sattes <simon.sattes@gmail.com> |
||||
Jo Liss <joliss42@gmail.com> |
||||
Guntupalli Karunakar <karunakarg@yahoo.com> |
||||
Shahyar Ghobadpour <shahyar@gmail.com> |
||||
Lukasz Lipinski <uzza17@gmail.com> |
||||
Timo Tijhof <krinklemail@gmail.com> |
||||
Jason Moon <jmoon@socialcast.com> |
||||
Martin Frost <martinf55@hotmail.com> |
||||
Eneko Illarramendi <eneko@illarra.com> |
||||
EungJun Yi <semtlenori@gmail.com> |
||||
Courtland Allen <courtlandallen@gmail.com> |
||||
Viktar Varvanovich <non4eg@gmail.com> |
||||
Danny Trunk <dtrunk90@gmail.com> |
||||
Pavel Stetina <pavel.stetina@nangu.tv> |
||||
Michael Stay <metaweta@gmail.com> |
||||
Steven Roussey <sroussey@gmail.com> |
||||
Michael Hollis <hollis21@gmail.com> |
||||
Lee Rowlands <lee.rowlands@previousnext.com.au> |
||||
Timmy Willison <timmywillisn@gmail.com> |
||||
Karl Swedberg <kswedberg@gmail.com> |
||||
Baoju Yuan <the_guy_1987@hotmail.com> |
||||
Maciej Mroziński <maciej.k.mrozinski@gmail.com> |
||||
Luis Dalmolin <luis.nh@gmail.com> |
||||
Mark Aaron Shirley <maspwr@gmail.com> |
||||
Martin Hoch <martin@fidion.de> |
||||
Jiayi Yang <tr870829@gmail.com> |
||||
Philipp Benjamin Köppchen <xgxtpbk@gws.ms> |
||||
Sindre Sorhus <sindresorhus@gmail.com> |
||||
Bernhard Sirlinger <bernhard.sirlinger@tele2.de> |
||||
Jared A. Scheel <jared@jaredscheel.com> |
||||
Rafael Xavier de Souza <rxaviers@gmail.com> |
||||
John Chen <zhang.z.chen@intel.com> |
||||
Dale Kocian <dale.kocian@gmail.com> |
||||
Mike Sherov <mike.sherov@gmail.com> |
||||
Andrew Couch <andy@couchand.com> |
||||
Marc-Andre Lafortune <github@marc-andre.ca> |
||||
Nate Eagle <nate.eagle@teamaol.com> |
||||
David Souther <davidsouther@gmail.com> |
||||
Mathias Stenbom <mathias@stenbom.com> |
||||
Sergey Kartashov <ebishkek@yandex.ru> |
||||
Avinash R <nashpapa@gmail.com> |
||||
Ethan Romba <ethanromba@gmail.com> |
||||
Cory Gackenheimer <cory.gack@gmail.com> |
||||
Juan Pablo Kaniefsky <jpkaniefsky@gmail.com> |
||||
Roman Salnikov <bardt.dz@gmail.com> |
||||
Anika Henke <anika@selfthinker.org> |
||||
Samuel Bovée <samycookie2000@yahoo.fr> |
||||
Fabrício Matté <ult_combo@hotmail.com> |
||||
Viktor Kojouharov <vkojouharov@gmail.com> |
||||
Pawel Maruszczyk (http://hrabstwo.net) |
||||
Pavel Selitskas <p.selitskas@gmail.com> |
||||
Bjørn Johansen <post@bjornjohansen.no> |
||||
Matthieu Penant <thieum22@hotmail.com> |
||||
Dominic Barnes <dominic@dbarnes.info> |
||||
David Sullivan <david.sullivan@gmail.com> |
||||
Thomas Jaggi <thomas@responsive.ch> |
||||
Vahid Sohrabloo <vahid4134@gmail.com> |
||||
Travis Carden <travis.carden@gmail.com> |
||||
Bruno M. Custódio <bruno@brunomcustodio.com> |
||||
Nathanael Silverman <nathanael.silverman@gmail.com> |
||||
Christian Wenz <christian@wenz.org> |
||||
Steve Urmston <steve@urm.st> |
||||
Zaven Muradyan <megalivoithos@gmail.com> |
||||
Woody Gilk <shadowhand@deviantart.com> |
||||
Zbigniew Motyka <zbigniew.motyka@gmail.com> |
||||
Suhail Alkowaileet <xsoh.k7@gmail.com> |
||||
Toshi MARUYAMA <marutosijp2@yahoo.co.jp> |
||||
David Hansen <hansede@gmail.com> |
||||
Brian Grinstead <briangrinstead@gmail.com> |
||||
Christian Klammer <christian314159@gmail.com> |
||||
Steven Luscher <jquerycla@steveluscher.com> |
||||
Gan Eng Chin <engchin.gan@gmail.com> |
||||
Gabriel Schulhof <gabriel.schulhof@intel.com> |
||||
Alexander Schmitz <arschmitz@gmail.com> |
||||
Vilhjálmur Skúlason <vis@dmm.is> |
||||
Siebrand Mazeland <s.mazeland@xs4all.nl> |
||||
Mohsen Ekhtiari <mohsenekhtiari@yahoo.com> |
||||
Pere Orga <gotrunks@gmail.com> |
||||
Jasper de Groot <mail@ugomobi.com> |
||||
Stephane Deschamps <stephane.deschamps@gmail.com> |
||||
Jyoti Deka <dekajp@gmail.com> |
||||
Andrei Picus <office.nightcrawler@gmail.com> |
||||
Ondrej Novy <novy@ondrej.org> |
||||
Jacob McCutcheon <jacob.mccutcheon@gmail.com> |
||||
Monika Piotrowicz <monika.piotrowicz@gmail.com> |
||||
Imants Horsts <imants.horsts@inbox.lv> |
||||
Eric Dahl <eric.c.dahl@gmail.com> |
||||
Dave Stein <dave@behance.com> |
||||
Dylan Barrell <dylan@barrell.com> |
||||
Daniel DeGroff <djdegroff@gmail.com> |
||||
Michael Wiencek <mwtuea@gmail.com> |
||||
Thomas Meyer <meyertee@gmail.com> |
||||
Ruslan Yakhyaev <ruslan@ruslan.io> |
||||
Brian J. Dowling <bjd-dev@simplicity.net> |
||||
Ben Higgins <ben@extrahop.com> |
||||
Yermo Lamers <yml@yml.com> |
||||
Patrick Stapleton <github@gdi2290.com> |
||||
Trisha Crowley <trisha.crowley@gmail.com> |
||||
Usman Akeju <akeju00+github@gmail.com> |
||||
Rodrigo Menezes <rod333@gmail.com> |
||||
Jacques Perrault <jacques_perrault@us.ibm.com> |
||||
Frederik Elvhage <frederik.elvhage@googlemail.com> |
||||
Will Holley <willholley@gmail.com> |
||||
Uri Gilad <antishok@gmail.com> |
||||
Richard Gibson <richard.gibson@gmail.com> |
||||
Simen Bekkhus <sbekkhus91@gmail.com> |
@ -1,44 +0,0 @@ |
||||
Copyright 2007, 2014 jQuery Foundation and other contributors, |
||||
https://jquery.org/ |
||||
|
||||
This software consists of voluntary contributions made by many |
||||
individuals. For exact contribution history, see the revision history |
||||
available at https://github.com/jquery/jquery-ui |
||||
|
||||
The following license applies to all parts of this software except as |
||||
documented below: |
||||
|
||||
==== |
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining |
||||
a copy of this software and associated documentation files (the |
||||
"Software"), to deal in the Software without restriction, including |
||||
without limitation the rights to use, copy, modify, merge, publish, |
||||
distribute, sublicense, and/or sell copies of the Software, and to |
||||
permit persons to whom the Software is furnished to do so, subject to |
||||
the following conditions: |
||||
|
||||
The above copyright notice and this permission notice shall be |
||||
included in all copies or substantial portions of the Software. |
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND |
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE |
||||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
||||
|
||||
==== |
||||
|
||||
Copyright and related rights for sample code are waived via CC0. Sample |
||||
code is defined as all source code contained within the demos directory. |
||||
|
||||
CC0: http://creativecommons.org/publicdomain/zero/1.0/ |
||||
|
||||
==== |
||||
|
||||
All files located in the node_modules and external directories are |
||||
externally maintained libraries used by this software which have their |
||||
own licenses; we recommend you read them, as their terms may differ from |
||||
the terms above. |
@ -1,11 +0,0 @@ |
||||
[jQuery UI](http://jqueryui.com/) - Interactions and Widgets for the web |
||||
================================ |
||||
|
||||
jQuery UI provides interactions like Drag and Drop and widgets like Autocomplete, Tabs and Slider and makes these as easy to use as jQuery itself. |
||||
|
||||
If you want to use jQuery UI, go to [jqueryui.com](http://jqueryui.com) to get started. Or visit the [Using jQuery UI Forum](http://forum.jquery.com/using-jquery-ui) for discussions and questions. |
||||
|
||||
If you are interested in helping develop jQuery UI, you are in the right place. |
||||
To discuss development with team members and the community, visit the [Developing jQuery UI Forum](http://forum.jquery.com/developing-jquery-ui) or in #jquery on irc.freednode.net. |
||||
|
||||
## This repo only holds precompiled files. |
@ -1,12 +0,0 @@ |
||||
{ |
||||
"name": "jquery-ui", |
||||
"version": "1.11.4", |
||||
"main": [ |
||||
"jquery-ui.js" |
||||
], |
||||
"ignore": [ |
||||
], |
||||
"dependencies": { |
||||
"jquery": ">=1.6" |
||||
} |
||||
} |
@ -1,13 +0,0 @@ |
||||
{ |
||||
"name": "jquery-ui", |
||||
"repo": "components/jqueryui", |
||||
"version": "1.11.4", |
||||
"license": "MIT", |
||||
"scripts": [ |
||||
"jquery-ui.js" |
||||
], |
||||
"main": "jquery-ui.js", |
||||
"dependencies": { |
||||
"components/jquery": "*" |
||||
} |
||||
} |
@ -1,69 +0,0 @@ |
||||
{ |
||||
"name": "components/jqueryui", |
||||
"type": "component", |
||||
"description": "jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.", |
||||
"license": "MIT", |
||||
"require": { |
||||
"components/jquery": ">=1.6" |
||||
}, |
||||
"authors": [ |
||||
{ |
||||
"name": "jQuery UI Team", |
||||
"homepage": "http://jqueryui.com/about" |
||||
}, |
||||
{ |
||||
"name": "Scott Gonzalez", |
||||
"email": "scott.gonzalez@gmail.com", |
||||
"homepage": "http://scottgonzalez.com" |
||||
}, |
||||
{ |
||||
"name": "Joern Zaefferer", |
||||
"email": "joern.zaefferer@gmail.com", |
||||
"homepage": "http://bassistance.de" |
||||
}, |
||||
{ |
||||
"name": "Kris Borchers", |
||||
"email": "kris.borchers@gmail.com", |
||||
"homepage": "http://krisborchers.com" |
||||
}, |
||||
{ |
||||
"name": "Corey Frang", |
||||
"email": "gnarf37@gmail.com", |
||||
"homepage": "http://gnarf.net" |
||||
}, |
||||
{ |
||||
"name": "Mike Sherov", |
||||
"email": "mike.sherov@gmail.com", |
||||
"homepage": "http://mike.sherov.com" |
||||
}, |
||||
{ |
||||
"name": "TJ VanToll", |
||||
"email": "tj.vantoll@gmail.com", |
||||
"homepage": "http://tjvantoll.com" |
||||
}, |
||||
{ |
||||
"name": "Felix Nagel", |
||||
"email": "info@felixnagel.com", |
||||
"homepage": "http://www.felixnagel.com" |
||||
} |
||||
], |
||||
"extra": { |
||||
"component": { |
||||
"name": "jquery-ui", |
||||
"scripts": [ |
||||
"jquery-ui.js" |
||||
], |
||||
"files": [ |
||||
"ui/**", |
||||
"themes/**", |
||||
"jquery-ui.min.js" |
||||
], |
||||
"shim": { |
||||
"deps": [ |
||||
"jquery" |
||||
], |
||||
"exports": "jQuery" |
||||
} |
||||
} |
||||
} |
||||
} |
@ -1,71 +0,0 @@ |
||||
{ |
||||
"name": "jquery-ui", |
||||
"title": "jQuery UI", |
||||
"description": "A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.", |
||||
"version": "1.11.4", |
||||
"homepage": "http://jqueryui.com", |
||||
"author": { |
||||
"name": "jQuery Foundation and other contributors", |
||||
"url": "https://github.com/jquery/jquery-ui/blob/1-11-stable/AUTHORS.txt" |
||||
}, |
||||
"maintainers": [ |
||||
{ |
||||
"name": "Scott González", |
||||
"email": "scott.gonzalez@gmail.com", |
||||
"url": "http://scottgonzalez.com" |
||||
}, |
||||
{ |
||||
"name": "Jörn Zaefferer", |
||||
"email": "joern.zaefferer@gmail.com", |
||||
"url": "http://bassistance.de" |
||||
}, |
||||
{ |
||||
"name": "Kris Borchers", |
||||
"email": "kris.borchers@gmail.com", |
||||
"url": "http://krisborchers.com" |
||||
}, |
||||
{ |
||||
"name": "Corey Frang", |
||||
"email": "gnarf37@gmail.com", |
||||
"url": "http://gnarf.net" |
||||
}, |
||||
{ |
||||
"name": "Mike Sherov", |
||||
"email": "mike.sherov@gmail.com", |
||||
"url": "http://mike.sherov.com" |
||||
}, |
||||
{ |
||||
"name": "TJ VanToll", |
||||
"email": "tj.vantoll@gmail.com", |
||||
"url": "http://tjvantoll.com" |
||||
}, |
||||
{ |
||||
"name": "Felix Nagel", |
||||
"email": "info@felixnagel.com", |
||||
"url": "http://www.felixnagel.com" |
||||
} |
||||
], |
||||
"repository": { |
||||
"type": "git", |
||||
"url": "git://github.com/jquery/jquery-ui.git" |
||||
}, |
||||
"bugs": "http://bugs.jqueryui.com/", |
||||
"licenses": [ |
||||
{ |
||||
"type": "MIT", |
||||
"url": "https://github.com/jquery/jquery-ui/blob/1-11-stable/LICENSE.txt" |
||||
} |
||||
], |
||||
"dependencies": {}, |
||||
"devDependencies": { |
||||
"grunt": "~0.3.17", |
||||
"grunt-css": "0.2.0", |
||||
"grunt-compare-size": "0.1.4", |
||||
"grunt-html": "0.1.1", |
||||
"grunt-junit": "0.1.5", |
||||
"grunt-git-authors": "1.0.0", |
||||
"rimraf": "2.0.1", |
||||
"testswarm": "0.3.0" |
||||
}, |
||||
"keywords": [] |
||||
} |
@ -1,36 +0,0 @@ |
||||
/*! |
||||
* jQuery UI Accordion 1.11.4 |
||||
* http://jqueryui.com |
||||
* |
||||
* Copyright jQuery Foundation and other contributors |
||||
* Released under the MIT license. |
||||
* http://jquery.org/license |
||||
* |
||||
* http://api.jqueryui.com/accordion/#theming |
||||
*/ |
||||
.ui-accordion .ui-accordion-header { |
||||
display: block; |
||||
cursor: pointer; |
||||
position: relative; |
||||
margin: 2px 0 0 0; |
||||
padding: .5em .5em .5em .7em; |
||||
min-height: 0; /* support: IE7 */ |
||||
font-size: 100%; |
||||
} |
||||
.ui-accordion .ui-accordion-icons { |
||||
padding-left: 2.2em; |
||||
} |
||||
.ui-accordion .ui-accordion-icons .ui-accordion-icons { |
||||
padding-left: 2.2em; |
||||
} |
||||
.ui-accordion .ui-accordion-header .ui-accordion-header-icon { |
||||
position: absolute; |
||||
left: .5em; |
||||
top: 50%; |
||||
margin-top: -8px; |
||||
} |
||||
.ui-accordion .ui-accordion-content { |
||||
padding: 1em 2.2em; |
||||
border-top: 0; |
||||
overflow: auto; |
||||
} |
@ -1,12 +0,0 @@ |
||||
/*! |
||||
* jQuery UI CSS Framework 1.11.4 |
||||
* http://jqueryui.com |
||||
* |
||||
* Copyright jQuery Foundation and other contributors |
||||
* Released under the MIT license. |
||||
* http://jquery.org/license |
||||
* |
||||
* http://api.jqueryui.com/category/theming/ |
||||
*/ |
||||
@import "base.css"; |
||||
@import "theme.css"; |
@ -1,16 +0,0 @@ |
||||
/*! |
||||
* jQuery UI Autocomplete 1.11.4 |
||||
* http://jqueryui.com |
||||
* |
||||
* Copyright jQuery Foundation and other contributors |
||||
* Released under the MIT license. |
||||
* http://jquery.org/license |
||||
* |
||||
* http://api.jqueryui.com/autocomplete/#theming |
||||
*/ |
||||
.ui-autocomplete { |
||||
position: absolute; |
||||
top: 0; |
||||
left: 0; |
||||
cursor: default; |
||||
} |
@ -1,28 +0,0 @@ |
||||
/*! |
||||
* jQuery UI CSS Framework 1.11.4 |
||||
* http://jqueryui.com |
||||
* |
||||
* Copyright jQuery Foundation and other contributors |
||||
* Released under the MIT license. |
||||
* http://jquery.org/license |
||||
* |
||||
* http://api.jqueryui.com/category/theming/ |
||||
*/ |
||||
@import url("core.css"); |
||||
|
||||
@import url("accordion.css"); |
||||
@import url("autocomplete.css"); |
||||
@import url("button.css"); |
||||
@import url("datepicker.css"); |
||||
@import url("dialog.css"); |
||||
@import url("draggable.css"); |
||||
@import url("menu.css"); |
||||
@import url("progressbar.css"); |
||||
@import url("resizable.css"); |
||||
@import url("selectable.css"); |
||||
@import url("selectmenu.css"); |
||||
@import url("sortable.css"); |
||||
@import url("slider.css"); |
||||
@import url("spinner.css"); |
||||
@import url("tabs.css"); |
||||
@import url("tooltip.css"); |
@ -1,114 +0,0 @@ |
||||
/*! |
||||
* jQuery UI Button 1.11.4 |
||||
* http://jqueryui.com |
||||
* |
||||
* Copyright jQuery Foundation and other contributors |
||||
* Released under the MIT license. |
||||
* http://jquery.org/license |
||||
* |
||||
* http://api.jqueryui.com/button/#theming |
||||
*/ |
||||
.ui-button { |
||||
display: inline-block; |
||||
position: relative; |
||||
padding: 0; |
||||
line-height: normal; |
||||
margin-right: .1em; |
||||
cursor: pointer; |
||||
vertical-align: middle; |
||||
text-align: center; |
||||
overflow: visible; /* removes extra width in IE */ |
||||
} |
||||
.ui-button, |
||||
.ui-button:link, |
||||
.ui-button:visited, |
||||
.ui-button:hover, |
||||
.ui-button:active { |
||||
text-decoration: none; |
||||
} |
||||
/* to make room for the icon, a width needs to be set here */ |
||||
.ui-button-icon-only { |
||||
width: 2.2em; |
||||
} |
||||
/* button elements seem to need a little more width */ |
||||
button.ui-button-icon-only { |
||||
width: 2.4em; |
||||
} |
||||
.ui-button-icons-only { |
||||
width: 3.4em; |
||||
} |
||||
button.ui-button-icons-only { |
||||
width: 3.7em; |
||||
} |
||||
|
||||
/* button text element */ |
||||
.ui-button .ui-button-text { |
||||
display: block; |
||||
line-height: normal; |
||||
} |
||||
.ui-button-text-only .ui-button-text { |
||||
padding: .4em 1em; |
||||
} |
||||
.ui-button-icon-only .ui-button-text, |
||||
.ui-button-icons-only .ui-button-text { |
||||
padding: .4em; |
||||
text-indent: -9999999px; |
||||
} |
||||
.ui-button-text-icon-primary .ui-button-text, |
||||
.ui-button-text-icons .ui-button-text { |
||||
padding: .4em 1em .4em 2.1em; |
||||
} |
||||
.ui-button-text-icon-secondary .ui-button-text, |
||||
.ui-button-text-icons .ui-button-text { |
||||
padding: .4em 2.1em .4em 1em; |
||||
} |
||||
.ui-button-text-icons .ui-button-text { |
||||
padding-left: 2.1em; |
||||
padding-right: 2.1em; |
||||
} |
||||
/* no icon support for input elements, provide padding by default */ |
||||
input.ui-button { |
||||
padding: .4em 1em; |
||||
} |
||||
|
||||
/* button icon element(s) */ |
||||
.ui-button-icon-only .ui-icon, |
||||
.ui-button-text-icon-primary .ui-icon, |
||||
.ui-button-text-icon-secondary .ui-icon, |
||||
.ui-button-text-icons .ui-icon, |
||||
.ui-button-icons-only .ui-icon { |
||||
position: absolute; |
||||
top: 50%; |
||||
margin-top: -8px; |
||||
} |
||||
.ui-button-icon-only .ui-icon { |
||||
left: 50%; |
||||
margin-left: -8px; |
||||
} |
||||
.ui-button-text-icon-primary .ui-button-icon-primary, |
||||
.ui-button-text-icons .ui-button-icon-primary, |
||||
.ui-button-icons-only .ui-button-icon-primary { |
||||
left: .5em; |
||||
} |
||||
.ui-button-text-icon-secondary .ui-button-icon-secondary, |
||||
.ui-button-text-icons .ui-button-icon-secondary, |
||||
.ui-button-icons-only .ui-button-icon-secondary { |
||||
right: .5em; |
||||
} |
||||
|
||||
/* button sets */ |
||||
.ui-buttonset { |
||||
margin-right: 7px; |
||||
} |
||||
.ui-buttonset .ui-button { |
||||
margin-left: 0; |
||||
margin-right: -.3em; |
||||
} |
||||
|
||||
/* workarounds */ |
||||
/* reset extra padding in Firefox, see h5bp.com/l */ |
||||
input.ui-button::-moz-focus-inner, |
||||
button.ui-button::-moz-focus-inner { |
||||
border: 0; |
||||
padding: 0; |
||||
} |
@ -1,93 +0,0 @@ |
||||
/*! |
||||
* jQuery UI CSS Framework 1.11.4 |
||||
* http://jqueryui.com |
||||
* |
||||
* Copyright jQuery Foundation and other contributors |
||||
* Released under the MIT license. |
||||
* http://jquery.org/license |
||||
* |
||||
* http://api.jqueryui.com/category/theming/ |
||||
*/ |
||||
|
||||
/* Layout helpers |
||||
----------------------------------*/ |
||||
.ui-helper-hidden { |
||||
display: none; |
||||
} |
||||
.ui-helper-hidden-accessible { |
||||
border: 0; |
||||
clip: rect(0 0 0 0); |
||||
height: 1px; |
||||
margin: -1px; |
||||
overflow: hidden; |
||||
padding: 0; |
||||
position: absolute; |
||||
width: 1px; |
||||
} |
||||
.ui-helper-reset { |
||||
margin: 0; |
||||
padding: 0; |
||||
border: 0; |
||||
outline: 0; |
||||
line-height: 1.3; |
||||
text-decoration: none; |
||||
font-size: 100%; |
||||
list-style: none; |
||||
} |
||||
.ui-helper-clearfix:before, |
||||
.ui-helper-clearfix:after { |
||||
content: ""; |
||||
display: table; |
||||
border-collapse: collapse; |
||||
} |
||||
.ui-helper-clearfix:after { |
||||
clear: both; |
||||
} |
||||
.ui-helper-clearfix { |
||||
min-height: 0; /* support: IE7 */ |
||||
} |
||||
.ui-helper-zfix { |
||||
width: 100%; |
||||
height: 100%; |
||||
top: 0; |
||||
left: 0; |
||||
position: absolute; |
||||
opacity: 0; |
||||
filter:Alpha(Opacity=0); /* support: IE8 */ |
||||
} |
||||
|
||||
.ui-front { |
||||
z-index: 100; |
||||
} |
||||
|
||||
|
||||
/* Interaction Cues |
||||
----------------------------------*/ |
||||
.ui-state-disabled { |
||||
cursor: default !important; |
||||
} |
||||
|
||||
|
||||
/* Icons |
||||
----------------------------------*/ |
||||
|
||||
/* states and images */ |
||||
.ui-icon { |
||||
display: block; |
||||
text-indent: -99999px; |
||||
overflow: hidden; |
||||
background-repeat: no-repeat; |
||||
} |
||||
|
||||
|
||||
/* Misc visuals |
||||
----------------------------------*/ |
||||
|
||||
/* Overlays */ |
||||
.ui-widget-overlay { |
||||
position: fixed; |
||||
top: 0; |
||||
left: 0; |
||||
width: 100%; |
||||
height: 100%; |
||||
} |
@ -1,175 +0,0 @@ |
||||
/*! |
||||
* jQuery UI Datepicker 1.11.4 |
||||
* http://jqueryui.com |
||||
* |
||||
* Copyright jQuery Foundation and other contributors |
||||
* Released under the MIT license. |
||||
* http://jquery.org/license |
||||
* |
||||
* http://api.jqueryui.com/datepicker/#theming |
||||
*/ |
||||
.ui-datepicker { |
||||
width: 17em; |
||||
padding: .2em .2em 0; |
||||
display: none; |
||||
} |
||||
.ui-datepicker .ui-datepicker-header { |
||||
position: relative; |
||||
padding: .2em 0; |
||||
} |
||||
.ui-datepicker .ui-datepicker-prev, |
||||
.ui-datepicker .ui-datepicker-next { |
||||
position: absolute; |
||||
top: 2px; |
||||
width: 1.8em; |
||||
height: 1.8em; |
||||
} |
||||
.ui-datepicker .ui-datepicker-prev-hover, |
||||
.ui-datepicker .ui-datepicker-next-hover { |
||||
top: 1px; |
||||
} |
||||
.ui-datepicker .ui-datepicker-prev { |
||||
left: 2px; |
||||
} |
||||
.ui-datepicker .ui-datepicker-next { |
||||
right: 2px; |
||||
} |
||||
.ui-datepicker .ui-datepicker-prev-hover { |
||||
left: 1px; |
||||
} |
||||
.ui-datepicker .ui-datepicker-next-hover { |
||||
right: 1px; |
||||
} |
||||
.ui-datepicker .ui-datepicker-prev span, |
||||
.ui-datepicker .ui-datepicker-next span { |
||||
display: block; |
||||
position: absolute; |
||||
left: 50%; |
||||
margin-left: -8px; |
||||
top: 50%; |
||||
margin-top: -8px; |
||||
} |
||||
.ui-datepicker .ui-datepicker-title { |
||||
margin: 0 2.3em; |
||||
line-height: 1.8em; |
||||
text-align: center; |
||||
} |
||||
.ui-datepicker .ui-datepicker-title select { |
||||
font-size: 1em; |
||||
margin: 1px 0; |
||||
} |
||||
.ui-datepicker select.ui-datepicker-month, |
||||
.ui-datepicker select.ui-datepicker-year { |
||||
width: 45%; |
||||
} |
||||
.ui-datepicker table { |
||||
width: 100%; |
||||
font-size: .9em; |
||||
border-collapse: collapse; |
||||
margin: 0 0 .4em; |
||||
} |
||||
.ui-datepicker th { |
||||
padding: .7em .3em; |
||||
text-align: center; |
||||
font-weight: bold; |
||||
border: 0; |
||||
} |
||||
.ui-datepicker td { |
||||
border: 0; |
||||
padding: 1px; |
||||
} |
||||
.ui-datepicker td span, |
||||
.ui-datepicker td a { |
||||
display: block; |
||||
padding: .2em; |
||||
text-align: right; |
||||
text-decoration: none; |
||||
} |
||||
.ui-datepicker .ui-datepicker-buttonpane { |
||||
background-image: none; |
||||
margin: .7em 0 0 0; |
||||
padding: 0 .2em; |
||||
border-left: 0; |
||||
border-right: 0; |
||||
border-bottom: 0; |
||||
} |
||||
.ui-datepicker .ui-datepicker-buttonpane button { |
||||
float: right; |
||||
margin: .5em .2em .4em; |
||||
cursor: pointer; |
||||
padding: .2em .6em .3em .6em; |
||||
width: auto; |
||||
overflow: visible; |
||||
} |
||||
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { |
||||
float: left; |
||||
} |
||||
|
||||
/* with multiple calendars */ |
||||
.ui-datepicker.ui-datepicker-multi { |
||||
width: auto; |
||||
} |
||||
.ui-datepicker-multi .ui-datepicker-group { |
||||
float: left; |
||||
} |
||||
.ui-datepicker-multi .ui-datepicker-group table { |
||||
width: 95%; |
||||
margin: 0 auto .4em; |
||||
} |
||||
.ui-datepicker-multi-2 .ui-datepicker-group { |
||||
width: 50%; |
||||
} |
||||
.ui-datepicker-multi-3 .ui-datepicker-group { |
||||
width: 33.3%; |
||||
} |
||||
.ui-datepicker-multi-4 .ui-datepicker-group { |
||||
width: 25%; |
||||
} |
||||
.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header, |
||||
.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { |
||||
border-left-width: 0; |
||||
} |
||||
.ui-datepicker-multi .ui-datepicker-buttonpane { |
||||
clear: left; |
||||
} |
||||
.ui-datepicker-row-break { |
||||
clear: both; |
||||
width: 100%; |
||||
font-size: 0; |
||||
} |
||||
|
||||
/* RTL support */ |
||||
.ui-datepicker-rtl { |
||||
direction: rtl; |
||||
} |
||||
.ui-datepicker-rtl .ui-datepicker-prev { |
||||
right: 2px; |
||||
left: auto; |
||||
} |
||||
.ui-datepicker-rtl .ui-datepicker-next { |
||||
left: 2px; |
||||
right: auto; |
||||
} |
||||
.ui-datepicker-rtl .ui-datepicker-prev:hover { |
||||
right: 1px; |
||||
left: auto; |
||||
} |
||||
.ui-datepicker-rtl .ui-datepicker-next:hover { |
||||
left: 1px; |
||||
right: auto; |
||||
} |
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane { |
||||
clear: right; |
||||
} |
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button { |
||||
float: left; |
||||
} |
||||
.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current, |
||||
.ui-datepicker-rtl .ui-datepicker-group { |
||||
float: right; |
||||
} |
||||
.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header, |
||||
.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { |
||||
border-right-width: 0; |
||||
border-left-width: 1px; |
||||
} |
@ -1,70 +0,0 @@ |
||||
/*! |
||||
* jQuery UI Dialog 1.11.4 |
||||
* http://jqueryui.com |
||||
* |
||||
* Copyright jQuery Foundation and other contributors |
||||
* Released under the MIT license. |
||||
* http://jquery.org/license |
||||
* |
||||
* http://api.jqueryui.com/dialog/#theming |
||||
*/ |
||||
.ui-dialog { |
||||
overflow: hidden; |
||||
position: absolute; |
||||
top: 0; |
||||
left: 0; |
||||
padding: .2em; |
||||
outline: 0; |
||||
} |
||||
.ui-dialog .ui-dialog-titlebar { |
||||
padding: .4em 1em; |
||||
position: relative; |
||||
} |
||||
.ui-dialog .ui-dialog-title { |
||||
float: left; |
||||
margin: .1em 0; |
||||
white-space: nowrap; |
||||
width: 90%; |
||||
overflow: hidden; |
||||
text-overflow: ellipsis; |
||||
} |
||||
.ui-dialog .ui-dialog-titlebar-close { |
||||
position: absolute; |
||||
right: .3em; |
||||
top: 50%; |
||||
width: 20px; |
||||
margin: -10px 0 0 0; |
||||
padding: 1px; |
||||
height: 20px; |
||||
} |
||||
.ui-dialog .ui-dialog-content { |
||||
position: relative; |
||||
border: 0; |
||||
padding: .5em 1em; |
||||
background: none; |
||||
overflow: auto; |
||||
} |
||||
.ui-dialog .ui-dialog-buttonpane { |
||||
text-align: left; |
||||
border-width: 1px 0 0 0; |
||||
background-image: none; |
||||
margin-top: .5em; |
||||
padding: .3em 1em .5em .4em; |
||||
} |
||||
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { |
||||
float: right; |
||||
} |
||||
.ui-dialog .ui-dialog-buttonpane button { |
||||
margin: .5em .4em .5em 0; |
||||
cursor: pointer; |
||||
} |
||||
.ui-dialog .ui-resizable-se { |
||||
width: 12px; |
||||
height: 12px; |
||||
right: -5px; |
||||
bottom: -5px; |
||||
background-position: 16px 16px; |
||||
} |
||||
.ui-draggable .ui-dialog-titlebar { |
||||
cursor: move; |
||||
} |
@ -1,12 +0,0 @@ |
||||
/*! |
||||
* jQuery UI Draggable 1.11.4 |
||||
* http://jqueryui.com |
||||
* |
||||
* Copyright jQuery Foundation and other contributors |
||||
* Released under the MIT license. |
||||
* http://jquery.org/license |
||||
*/ |
||||
.ui-draggable-handle { |
||||
-ms-touch-action: none; |
||||
touch-action: none; |
||||
} |
Before Width: | Height: | Size: 180 B |
Before Width: | Height: | Size: 178 B |
Before Width: | Height: | Size: 120 B |
Before Width: | Height: | Size: 105 B |
Before Width: | Height: | Size: 111 B |
Before Width: | Height: | Size: 110 B |
Before Width: | Height: | Size: 119 B |
Before Width: | Height: | Size: 101 B |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB |