raray / jquery-purr Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jquery-purr
Automatically exported from code.google.com/p/jquery-purr
In line 60 of the code, the close element class attribute is specified as
className rather than class. Thus, the css for the close element does not get
applied.
Code snippet from jquery.purr.js:
function notify ()
{
// Set up the close button
var close = document.createElement( 'a' );
$( close ).attr(
{
className: 'close',
href: '#close',
innerHTML: 'Close'
}
)
.appendTo( notice )
.click( function ()
{
removeNotice();
return false;
}
);
Original issue reported on code.google.com by [email protected]
on 14 Jul 2013 at 6:07
What steps will reproduce the problem?
1. Just use your example from here with jquery 1.11.x
2. You will get: [Error] TypeError: 'undefined' is not an object (evaluating
'jQuery.browser.msie')
notify (jquery.purr.js, line 78)
purr (jquery.purr.js, line 52)
(anonymous function) (jquery.purr.js, line 173)
each (jquery.min.js, line 2)
each (jquery.min.js, line 2)
purr (jquery.purr.js, line 171)
(anonymous function) (purr-example.html, line 50)
dispatch (jquery.min.js, line 3)
handle (jquery.min.js, line 3)
3. $.browser have been removed from 1.9
What version of the product are you using? On what operating system?
latest from your page (here)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 4 Jul 2014 at 5:03
What steps will reproduce the problem?
1. If the code is being called from within an iframe the stacking order is hard
to manipulate and therefore the message could show underneath an element in the
iframe's parent.
To fix this you can change the line:
$( 'body' ).append( cont );
to:
$('body', window.top.document).append( cont );
This will make sure the html is attached to the top level of the document.
Original issue reported on code.google.com by [email protected]
on 25 Apr 2011 at 12:23
What steps will reproduce the problem?
I want to be able to use the webkitNotifications interface so it will use
webkitNotifications on Google Chrome and jquery-purr on all browsers that do
not yet support webkitNotifications.
What is the expected output?
if (!window.webkitNotifications) window.webkitNotifications = notifierAdapter;
...
n =
window.webkitNotifications.createNotification('http://www.greasemonkey.cn/favico
n.ico', 'Car Checkup', 'Time for the following services: Oil Change, Tire
Pressure Check, Check Doors, etc');
n.show();
What version of the product are you using? On what operating system?
Latest version, on Windows (should also work on any system that jQuery works on)
Please provide any additional information below.
See attached file for version 0.1
Should I fork jquery-purr and create jquery-webkitnotifications-purr or join
jquery-purr as a developer?
Original issue reported on code.google.com by [email protected]
on 27 May 2011 at 11:41
Attachments:
What steps will reproduce the problem?
1. use jQuery Purr in IE
2. error thrown
To fix it, go to line 60 and change
class
to
'class'
in the jquery.attr call.
Original issue reported on code.google.com by [email protected]
on 27 Jun 2012 at 1:40
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.