Skip to content

Commit

Permalink
Fixed error when Raphael undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasAlabes committed Feb 16, 2013
1 parent 3a840be commit bdfe043
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion raphael-min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions raphael.js
Original file line number Diff line number Diff line change
Expand Up @@ -5606,7 +5606,7 @@
// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\
// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\
// └─────────────────────────────────────────────────────────────────────┘ \\
window.Raphael.svg && function (R) {
window.Raphael && window.Raphael.svg && function (R) {
var has = "hasOwnProperty",
Str = String,
toFloat = parseFloat,
Expand Down Expand Up @@ -6966,7 +6966,7 @@ window.Raphael.svg && function (R) {
// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\
// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\
// └─────────────────────────────────────────────────────────────────────┘ \\
window.Raphael.vml && function (R) {
window.Raphael && window.Raphael.vml && function (R) {
var has = "hasOwnProperty",
Str = String,
toFloat = parseFloat,
Expand Down
2 changes: 1 addition & 1 deletion raphael.svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\
// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\
// └─────────────────────────────────────────────────────────────────────┘ \\
window.Raphael.svg && function (R) {
window.Raphael && window.Raphael.svg && function (R) {
var has = "hasOwnProperty",
Str = String,
toFloat = parseFloat,
Expand Down
2 changes: 1 addition & 1 deletion raphael.vml.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\
// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\
// └─────────────────────────────────────────────────────────────────────┘ \\
window.Raphael.vml && function (R) {
window.Raphael && window.Raphael.vml && function (R) {
var has = "hasOwnProperty",
Str = String,
toFloat = parseFloat,
Expand Down

0 comments on commit bdfe043

Please sign in to comment.