Skip to content

Commit

Permalink
Fixing merge conflicts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Jackson authored and Paul Jackson committed Jul 24, 2012
2 parents 74f1ad1 + 5835a2b commit 387e9e4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion build/js/css/pe-ap-min.css

Large diffs are not rendered by default.

18 changes: 10 additions & 8 deletions src/js/pe-ap.js
Expand Up @@ -435,15 +435,17 @@
* @return {void}
*/
_execute : function (fn_obj, elm) {
var exec = (typeof fn_obj._exec !== "undefined") ? fn_obj._exec : fn_obj.exec;
if (typeof fn_obj.depends !== "undefined") {
pe.add.js(fn_obj.depends, function () {
if (fn_obj !== undefined) {
var exec = (typeof fn_obj._exec !== "undefined") ? fn_obj._exec : fn_obj.exec;
if (typeof fn_obj.depends !== "undefined") {
pe.add.js(fn_obj.depends, function () {
exec(elm);
});
//delete fn_obj.depends;
} else {
// execute function since it has no depends and we can safely execute
exec(elm);
});
//delete fn_obj.depends;
} else {
// execute function since it has no depends and we can safely execute
exec(elm);
}
}
return;
},
Expand Down

0 comments on commit 387e9e4

Please sign in to comment.