Skip to content

Commit

Permalink
Item13983: update jquery.stars
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Feb 23, 2016
1 parent fcb22b7 commit 2ccefb2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion JQueryPlugin/data/System/JQueryStars.txt
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1420822060" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1456220586" format="1.1" version="1"}%
%META:TOPICPARENT{name="JQueryPlugin"}%
---+ %TOPIC%
%JQPLUGINS{"stars"
Expand Down
4 changes: 2 additions & 2 deletions JQueryPlugin/lib/Foswiki/Plugins/JQueryPlugin/STARS.pm
Expand Up @@ -28,7 +28,7 @@ sub new {
my $this = bless(
$class->SUPER::new(
name => 'Stars',
version => '1.00',
version => '1.10',
author => 'Michael Daum',
homepage => 'http://foswiki.org/Extensions/JQueryPlugin',
css => [ 'jquery.stars.css', ],
Expand All @@ -46,7 +46,7 @@ sub new {
__END__
Foswiki - The Free and Open Source Wiki, http://foswiki.org/
Copyright (C) 2014-2015 Foswiki Contributors. Foswiki Contributors
Copyright (C) 2014-2016 Foswiki Contributors. Foswiki Contributors
are listed in the AUTHORS file in the root of this distribution.
NOTE: Please extend that file, not this notice.
Expand Down

This file was deleted.

@@ -1,3 +1,6 @@
.jqStars {
white-space:nowrap;
}
.jqStarsContainer {
display:inline-block;
background-image:url(star.png);
Expand Down
@@ -1,7 +1,7 @@
/*
* jQuery Stars plugin 1.00
* jQuery Stars plugin 1.10
*
* Copyright (c) 2014-2015 Foswiki Contributors http://foswiki.org
* Copyright (c) 2014-2016 Foswiki Contributors http://foswiki.org
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
Expand Down Expand Up @@ -271,7 +271,7 @@
$(".jqStars:not(.jqInitedStars)").livequery(function() {
var $this = $(this),
opts = $.extend({}, $this.data(), $this.metadata());
$this.stars(opts).addClass("jqInitedStars");
$this.wrap("<div class='jqStars jqInitedStars' />").removeClass("jqStars").addClass("jqStarsInput").stars(opts);
});
});
})(jQuery);

0 comments on commit 2ccefb2

Please sign in to comment.