radiovisual / jquery-responsive-ratio

Force DOM elements to be responsive at a specific aspect ratio.
MIT License
0 stars 0 forks source link

not using lodash.debounce dependency #2

Closed radiovisual closed 8 years ago

radiovisual commented 8 years ago

Currently, this module only works when I have a debounce function available in the global scope, for example, when I have underscore (that has a debounce function) on the page:

<script src="js/vendor/underscore-min.js"></script>
radiovisual commented 8 years ago

actually it is pulling in the dependency just fine (check the new demo page) for confirmation. There was an unrelated conflict causing this bug to appear. Closing.

radiovisual commented 8 years ago

another reason why having unit tests is imperative!