Skip to content

Commit

Permalink
Fixes to merged pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryBaranovskiy committed Feb 17, 2013
1 parent 2929bfd commit fa6ea62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
8 changes: 3 additions & 5 deletions make
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ var ujs = require('uglify-js'),
},
output = {
'raphael-min.js' : ['eve', 'core', 'svg', 'vml'],
'raphael.js' : ['eve', 'core', 'svg', 'vml'],
'raphael.pro-min.js' : ['eve', 'core', 'svg'],
'raphael.pro.js' : ['eve', 'core', 'svg'],
'raphael.js' : ['eve', 'core', 'svg', 'vml']
};

for (var file in input) {
input[file] = fs.readFileSync(input[file], 'utf8');
}
for (var file in output) {
for (file in output) {
var out = '';
if (file.indexOf('min') !== -1) {
console.log('Compressing ' + file);
Expand All @@ -30,7 +28,7 @@ for (var file in output) {
}
} else {
console.log('Concatinating ' + file);
for (var i = 0, l = output[file].length; i < l; i++) {
for (i = 0, l = output[file].length; i < l; i++) {
out += input[output[file][i]] + '\n';
}
}
Expand Down
6 changes: 3 additions & 3 deletions raphael.core.js
Original file line number Diff line number Diff line change
Expand Up @@ -3086,7 +3086,7 @@
= (object) data
\*/
elproto.getData = function () {
return eldata[this.id] || {};
return clone(eldata[this.id] || {});
};
/*\
* Element.hover
Expand Down Expand Up @@ -3513,13 +3513,13 @@
**
> Parameters
**
- bbox (string) bbox to check with
- bbox (object) bbox to check with
= (object) @Set
\*/
paperproto.getElementsByBBox = function (bbox) {
var set = this.set();
this.forEach(function (el) {
if (Raphael.isBBoxIntersect(el.getBBox(), bbox)) {
if (R.isBBoxIntersect(el.getBBox(), bbox)) {
set.push(el);
}
});
Expand Down

0 comments on commit fa6ea62

Please sign in to comment.