diff --git a/.gitignore b/.gitignore
index 9bea433..90ac674 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-
+/.idea
.DS_Store
diff --git a/js/heartcode-canvasloader.js b/js/heartcode-canvasloader.js
index 53c9b69..a053e2f 100644
--- a/js/heartcode-canvasloader.js
+++ b/js/heartcode-canvasloader.js
@@ -112,7 +112,7 @@
* Initialization method
* @method init
* @protected
- * @param id {String} The id of the placeholder div, where the loader will be nested into
+ * @param pId {String|HTMLElement} Either an html node element or the id of the placeholder div, where the loader will be nested into
* @param opt {Object} Optional parameters
* Possible values of optional parameters:
*