Unnecesary Parameter eliminated

This commit is contained in:
Luis Fernando Molina committed 2018-05-04 16:35:04 +02:00
1 parent e033942081
commit 5709b23077
4 files changed
+2 -6

No files matched your search

Binary file not shown.
-2
View File
@@ -89,8 +89,6 @@ function newBubbleSets() {
floatingObject.payloadBubbleIndex = i;
floatingObject.payload.profile.imageId = bubbleSet.imageId;
//floatingObject.container = pContainer;
floatingObject.friction = .995;
floatingObject.initializeMass(100);
+1 -3
View File
@@ -42,7 +42,7 @@ function newProfileBalls() {
}
}
function createNewProfileBall(pPayload, pContainer, callBackFunction) {
function createNewProfileBall(pPayload, callBackFunction) {
let floatingObject = newFloatingObject();
floatingObject.initialize("Profile Ball", onInitialized);
@@ -51,8 +51,6 @@ function newProfileBalls() {
floatingObject.payload = pPayload;
floatingObject.container = pContainer;
floatingObject.friction = .995;
floatingObject.initializeMass(100);
+1 -1
View File
@@ -315,7 +315,7 @@
productPlotter.plotter.payload.profile.downLabel = pProductCard.bot.displayName;
productPlotter.plotter.payload.profile.imageId = imageId;
canvas.floatingSpace.profileBalls.createNewProfileBall(productPlotter.plotter.payload, thisObject.container, onProfileBallCreated)
canvas.floatingSpace.profileBalls.createNewProfileBall(productPlotter.plotter.payload, onProfileBallCreated)
function onProfileBallCreated(err, pProfileHandle) {