mirror of
https://github.com/WilliamsNY/contain-element.git
synced 2024-11-21 22:02:31 -05:00
Update comments to reflect changes made since writing them
This commit is contained in:
parent
b4ca0e07f6
commit
7c1a8a5070
1 changed files with 2 additions and 2 deletions
|
@ -69,10 +69,10 @@ function ContainElement(options) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Run the scale function and bind it to various window-size-changing events
|
// Run the function to scale and anchor the element
|
||||||
updateContain();
|
updateContain();
|
||||||
|
|
||||||
// Add scale function to the library
|
// Add an external scale and anchor update function
|
||||||
this.update = updateContain;
|
this.update = updateContain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue