bump version 0.6.1
[contrib/cloudeebus.git] / cloudeebus / cloudeebus.js
index b8d568f..041c2a6 100644 (file)
@@ -1,5 +1,5 @@
 /******************************************************************************
- * Copyright 2012 Intel Corporation.
+ * Copyright 2012 - 2013 Intel Corporation.
  * 
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@ var dbus = { // hook object for dbus types not translated by python-json
 /*****************************************************************************/
 
 var cloudeebus = window.cloudeebus = {
-               version: "0.6.0",
+               version: "0.6.1",
                minVersion: "0.6.0"
 };
 
@@ -196,6 +196,24 @@ cloudeebus.BusConnection.prototype.addService = function(serviceName) {
 
 
 
+/******************************************************************************
+ * Copyright 2012 - 2013 Intel Corporation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *****************************************************************************/
+
+
+
 /*****************************************************************************/
 
 cloudeebus.Agent = function(objectPath, handler, xml) {
@@ -445,6 +463,24 @@ cloudeebus.Service.prototype._emitSignal = function(objectPath, signalName, args
 
 
 
+/******************************************************************************
+ * Copyright 2012 - 2013 Intel Corporation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *****************************************************************************/
+
+
+
 /*****************************************************************************/
 
 function _processWrappers(wrappers, value) {
@@ -456,8 +492,10 @@ function _processWrappers(wrappers, value) {
 function _processWrappersAsync(wrappers, value) {
        var taskid = -1;
        function processAsyncOnce() {
-               _processWrappers(wrappers, value);
+               if (!wrappers.processed)
+                       _processWrappers(wrappers, value);
                clearInterval(taskid);
+               wrappers.processed = true;
        }
        taskid = setInterval(processAsyncOnce, 200);
 }
@@ -707,6 +745,24 @@ cloudeebus.Promise.some = function() {
 
 
 
+/******************************************************************************
+ * Copyright 2012 - 2013 Intel Corporation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *****************************************************************************/
+
+
+
 /*****************************************************************************/
 
 cloudeebus.ProxyObject = function(session, busConnection, busName, objectPath) {