Browse files

fixed minor typo's

  • Loading branch information...
1 parent b3c8727 commit 5a087c7abbf0d856c26524de32c48a58c130092d Jacko Hoogeveen committed Jul 11, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 source/jarallax.js
  2. +2 −2 source/jarallax_object.js
View
2 source/jarallax.js
@@ -162,7 +162,7 @@ Jarallax.prototype.setDefault = function (selector, values) {
if (JarallaxTools.isValues(values))
{
- var newDefault = new JaralaxObject(selector, values);
+ var newDefault = new JarallaxObject(selector, values);
newDefault.activate();
this.defaultValues.push(newDefault);
}
View
4 source/jarallax_object.js
@@ -2,12 +2,12 @@
// Jarallax object class ///////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
-JaralaxObject = function (selector, values) {
+JarallaxObject = function (selector, values) {
this.selector = selector;
this.values = values;
};
-JaralaxObject.prototype.activate = function (position) {
+JarallaxObject.prototype.activate = function (position) {
for (var i in this.values) {
$(this.selector).css(i ,this.values[i]);
}

0 comments on commit 5a087c7

Please sign in to comment.