Skip to content

Commit

Permalink
Update package.json version and recompile package files for release/1…
Browse files Browse the repository at this point in the history
….1.11
  • Loading branch information
rohitb4 committed Sep 2, 2014
1 parent 1b0b779 commit 6e9e3b3
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 48 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "redraphael",
"filename": "raphael",
"version": "1.1.10",
"version": "1.1.11",
"rversion": "2.1.0",
"description": "RedRaphael",
"scripts": {
Expand Down
54 changes: 33 additions & 21 deletions package/raphael-fusioncharts.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ window.FusionCharts && window.FusionCharts.register('module', ['private', 'vendo


/**!
* RedRaphael 1.1.10 - JavaScript Vector Library
* RedRaphael 1.1.11 - JavaScript Vector Library
* Copyright (c) 2012-2013 FusionCharts Technologies <http://www.fusioncharts.com>
*
* Raphael 2.1.0
Expand Down Expand Up @@ -531,6 +531,10 @@ window.FusionCharts && window.FusionCharts.register('module', ['private', 'vendo
objectToStr = "[object Object]",
arraySlice = Array.prototype.slice,
arraySplice = Array.prototype.splice,
hasPrototypeBug = (function () {
var a = function () {};
return a.hasOwnProperty("prototype");
}()),
g = {
doc: document,
win: window
Expand Down Expand Up @@ -1077,26 +1081,7 @@ window.FusionCharts && window.FusionCharts.register('module', ['private', 'vendo
(type == "array" && Array.isArray && Array.isArray(o)) ||
objectToString.call(o).slice(8, -1).toLowerCase() == type;
},

/*\
* Raphael.clone
[ method ]
**
* Returns a recursively cloned version of an object.
\*/
clone = R.clone = function (obj) {
if (Object(obj) !== obj) {
return obj;
}
var res = new obj.constructor;
for (var key in obj)
if (obj[has](key)) {
res[key] = clone(obj[key]);
}
return res;
},

/*\
* Raphael.createUUID
[ method ]
**
Expand All @@ -1110,7 +1095,34 @@ window.FusionCharts && window.FusionCharts.register('module', ['private', 'vendo
var r = math.random() * 16 | 0,
v = c == "x" ? r : (r & 3 | 8);
return v.toString(16);
});
}),
/*\
* Raphael.clone
[ method ]
**
* Returns a recursively cloned version of an object.
\*/
clone = R.clone = hasPrototypeBug ? function (obj) {
if (Object(obj) !== obj) {
return obj;
}
var res = new obj.constructor;
for (var key in obj)
if (key !== "prototype" && obj[has](key)) {
res[key] = clone(obj[key]);
}
return res;
} : function (obj) {
if (Object(obj) !== obj) {
return obj;
}
var res = new obj.constructor;
for (var key in obj)
if (obj[has](key)) {
res[key] = clone(obj[key]);
}
return res;
};

R._g = g;

Expand Down
10 changes: 5 additions & 5 deletions package/raphael-min.js

Large diffs are not rendered by default.

54 changes: 33 additions & 21 deletions package/raphael.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**!
* RedRaphael 1.1.10 - JavaScript Vector Library
* RedRaphael 1.1.11 - JavaScript Vector Library
* Copyright (c) 2012-2013 FusionCharts Technologies <http://www.fusioncharts.com>
*
* Raphael 2.1.0
Expand Down Expand Up @@ -514,6 +514,10 @@
objectToStr = "[object Object]",
arraySlice = Array.prototype.slice,
arraySplice = Array.prototype.splice,
hasPrototypeBug = (function () {
var a = function () {};
return a.hasOwnProperty("prototype");
}()),
g = {
doc: document,
win: window
Expand Down Expand Up @@ -1060,26 +1064,7 @@
(type == "array" && Array.isArray && Array.isArray(o)) ||
objectToString.call(o).slice(8, -1).toLowerCase() == type;
},

/*\
* Raphael.clone
[ method ]
**
* Returns a recursively cloned version of an object.
\*/
clone = R.clone = function (obj) {
if (Object(obj) !== obj) {
return obj;
}
var res = new obj.constructor;
for (var key in obj)
if (obj[has](key)) {
res[key] = clone(obj[key]);
}
return res;
},

/*\
* Raphael.createUUID
[ method ]
**
Expand All @@ -1093,7 +1078,34 @@
var r = math.random() * 16 | 0,
v = c == "x" ? r : (r & 3 | 8);
return v.toString(16);
});
}),
/*\
* Raphael.clone
[ method ]
**
* Returns a recursively cloned version of an object.
\*/
clone = R.clone = hasPrototypeBug ? function (obj) {
if (Object(obj) !== obj) {
return obj;
}
var res = new obj.constructor;
for (var key in obj)
if (key !== "prototype" && obj[has](key)) {
res[key] = clone(obj[key]);
}
return res;
} : function (obj) {
if (Object(obj) !== obj) {
return obj;
}
var res = new obj.constructor;
for (var key in obj)
if (obj[has](key)) {
res[key] = clone(obj[key]);
}
return res;
};

R._g = g;

Expand Down

0 comments on commit 6e9e3b3

Please sign in to comment.