Commit graph

  • 829d914ed2
    Merge 5ff0a09add into 8c4ad1aff3 dependabot[bot] 2022-12-02 03:20:03 +0000
  • 5ff0a09add
    Bump decode-uri-component from 0.2.0 to 0.2.2 dependabot/npm_and_yarn/decode-uri-component-0.2.2 dependabot[bot] 2022-12-02 03:20:02 +0000
  • 2788f94b47
    Merge 5d810b57f8 into 8c4ad1aff3 dependabot[bot] 2022-06-27 19:58:15 +0000
  • 5d810b57f8
    Bump copy-props from 2.0.4 to 2.0.5 dependabot/npm_and_yarn/copy-props-2.0.5 dependabot[bot] 2022-06-27 19:58:14 +0000
  • fd5720e7fa
    Merge e2c8055e45 into 8c4ad1aff3 dependabot[bot] 2021-05-09 12:54:39 +0000
  • e2c8055e45
    Bump hosted-git-info from 2.8.8 to 2.8.9 dependabot/npm_and_yarn/hosted-git-info-2.8.9 dependabot[bot] 2021-05-09 12:54:38 +0000
  • 6ff303e155
    Merge 90d6728766 into 8c4ad1aff3 dependabot[bot] 2021-03-30 10:43:25 +0000
  • 90d6728766
    Bump y18n from 3.2.1 to 3.2.2 dependabot/npm_and_yarn/y18n-3.2.2 dependabot[bot] 2021-03-30 10:43:24 +0000
  • c258d00af4
    Merge 39b3be0ca4 into 8c4ad1aff3 dependabot[bot] 2020-12-10 17:34:05 +0000
  • 39b3be0ca4
    Bump ini from 1.3.5 to 1.3.7 dependabot/npm_and_yarn/ini-1.3.7 dependabot[bot] 2020-12-10 17:34:03 +0000
  • 8c4ad1aff3 Update the npm dependencie master Kevin MacMartin 2020-11-11 22:52:38 -0500
  • 777384a790 Use https for DO spaces gh-pages Kevin MacMartin 2019-04-24 17:12:47 -0400
  • fd5b7d2d21 Migrate the background video to digitalocean spaces Kevin MacMartin 2019-04-24 16:07:24 -0400
  • 89a12f6356 Bump version for npm v1.7.5 Kevin MacMartin 2018-05-14 15:13:37 -0400
  • 464f53e271 Bump the version to 1.7.4 v1.7.4 Kevin MacMartin 2018-05-14 15:11:54 -0400
  • 950606235d Parse vertical and horizontal alignment separately so one set function doesn't cause the other value to divide itself by 100 Kevin MacMartin 2018-05-14 15:10:46 -0400
  • 4914e152c0 Bump version for NPM v1.7.3 Kevin MacMartin 2018-05-14 14:56:46 -0400
  • 1c672e883e Fix setting setValign and setHalign by left/top/center/right/bottom and quoted numbers, and allow quoted values for the width and height v1.7.2 Kevin MacMartin 2018-05-14 14:51:13 -0400
  • b44d7ffcdc Bump version to update on npmjs v1.7.1 Kevin MacMartin 2018-05-11 15:13:45 -0400
  • 9d23286d9b Optimize and add support for position by percent to halign and valign, and update gulp to 4.0.0 v1.7.0 Kevin MacMartin 2018-05-11 15:00:36 -0400
  • aee18dc3b2 Improve module support v1.6.4 Kevin MacMartin 2017-11-13 21:00:00 -0500
  • ceb72b0e13 Update the package version in the package.json v1.6.3.1 Kevin MacMartin 2017-11-13 20:01:20 -0500
  • bff7e6703f Add importable javascript "module" version v1.6.3 Kevin MacMartin 2017-11-13 19:54:55 -0500
  • 5128f85001 Add dependencies object to the package.json Kevin MacMartin 2017-11-13 19:38:51 -0500
  • 4871fc9ae9 Add more properties to package.json and package-lock.json v1.6.2 Kevin MacMartin 2017-08-08 15:34:23 -0400
  • fc32e030f2 Update gulp-concat and add a package-lock.json Kevin MacMartin 2017-08-08 15:14:37 -0400
  • 6158e752c6 Remove the yarn.lock v1.6.1 Kevin MacMartin 2017-08-08 15:12:03 -0400
  • 23a7babcfb Add new external functions to return the current width and height, and update the description of the getWidth and getHeight functions to make it more clear that they return the original width and height supplied for the element v1.6.0 Kevin MacMartin 2017-07-14 14:20:53 -0400
  • 7dae4c63fa Remove pointless multiplication against the scaleFactor in the scale factor conditions, and add a new option called "fit" that allows the object-fit strategy to be configured to either contain within the parent element or cover it (with the default set to the original behavior) v1.5.0 Kevin MacMartin 2017-05-31 15:59:16 -0400
  • 8c6a306374 Update to include a new "scale" option that sizes the element using the transform scale property instead of width and height, to allow for the contents of a contained element to be sized along with the element when necessary v1.4.0 Kevin MacMartin 2017-05-24 14:32:16 -0400
  • 591b150bb8 Use the non-minified version of contain-element in the bower.json main field as minified files aren't allowed v1.3.1 Kevin MacMartin 2017-01-13 16:02:20 -0500
  • bf8fede52f Add a new alternative to the "id" option named "element" that allows the contained element to be passed directly, update the readme to reflect this change, update gulp-concat and re-generate the minified version v1.3.0 Kevin MacMartin 2017-01-13 15:47:52 -0500
  • a10f958daf Clean up syntax, upgrade gulp-uglify and rebuild the minified version v1.2.1 Kevin MacMartin 2016-06-20 16:53:45 -0400
  • a55d067aa3 Switch the reference to the javascript include back to the minified version Kevin MacMartin 2015-09-08 00:26:50 -0400
  • f5ef27b187 Update the version of contain-element included and tweak the index page to match Kevin MacMartin 2015-09-08 00:25:19 -0400
  • 5cae38513c Tweak the wording in the comments v1.2.0 Kevin MacMartin 2015-09-08 00:24:22 -0400
  • a908761b2a Add setters and getters for the width and alignment properties Kevin MacMartin 2015-09-08 00:23:16 -0400
  • 7a59f6bc3c Add a function to return the current scale factor of the contained element v1.1.0 Kevin MacMartin 2015-09-04 14:26:56 -0400
  • 9ea6f875b4 Replace tabs with (4) spaces Kevin MacMartin 2015-09-04 14:15:36 -0400
  • 52e1f93e4a Be a bit more clear about what the width/height settings are for Kevin MacMartin 2015-07-03 11:55:36 -0400
  • a3f6c028ed Make a few additional tweaks to the example page Kevin MacMartin 2015-07-02 16:55:06 -0400
  • a03eb87dff Add a cover to the video and fix a typo Kevin MacMartin 2015-07-02 16:48:31 -0400
  • 3667fceb7d Revert an (incorrect) fix and host contain-element.min.js locally (which we'll update when new releases are made) Kevin MacMartin 2015-07-02 16:37:54 -0400
  • 46380fbaa9 Fix a few small issues and switch screen.addEventListener to window.addEventListener because the former doesn't work on (at least) chrome/chromium Kevin MacMartin 2015-07-02 16:26:35 -0400
  • 17c772c5c9 Use window.addEventListener rather than screen.addEventListener in the example, as the former isn't supported by (at least) chrome/chromium Kevin MacMartin 2015-07-02 16:15:27 -0400
  • f3b5b6354b Replace another instance of 'document' that should be 'parent element' in the comments Kevin MacMartin 2015-07-02 15:16:19 -0400
  • 7378d74b65 Update one more comment to reflect changes since writing it Kevin MacMartin 2015-07-02 15:15:17 -0400
  • 7c1a8a5070 Update comments to reflect changes made since writing them Kevin MacMartin 2015-07-02 15:14:23 -0400
  • b4ca0e07f6 Swap middle with center in the comments Kevin MacMartin 2015-07-02 15:10:53 -0400
  • 09752ed55a Touch up comments and formatting Kevin MacMartin 2015-07-02 14:35:51 -0400
  • f5abdade9a Update minified version v1.0.1 Kevin MacMartin 2015-07-02 13:06:08 -0400
  • fc9f124c7c Fix parent position check before applying relative style if none of the valid positions are used Kevin MacMartin 2015-07-02 13:05:28 -0400
  • 5569077384 this branch should be dependant of master Luke Evers 2015-07-02 11:56:56 -0400
  • ae68564e88 Use an array comparison to check for a valid parent position rather than three separate comparisons v1.0.0 Kevin MacMartin 2015-07-02 11:41:37 -0400
  • 61fc7a8e38 Black background Luke Evers 2015-07-02 09:59:40 -0400
  • 6e52021b83 The video credit link doesn't have to be 100% width Luke Evers 2015-07-01 14:36:03 -0400
  • 4fa00ad98d Adding some text to explain what to do in this demo. Luke Evers 2015-07-01 14:23:58 -0400
  • f65377b30b Merge branch 'master' into gh-pages Luke Evers 2015-07-01 14:06:29 -0400
  • 5226ead17d Use center instead of middle everywhere. Luke Evers 2015-07-01 14:05:48 -0400
  • 5f35180a45 Use "center" instead of "middle" Luke Evers 2015-07-01 14:04:38 -0400
  • e5c1d9922b Instead of two examples, use 9! Luke Evers 2015-07-01 14:01:45 -0400
  • f936591b22 Merge branch 'master' into gh-pages Luke Evers 2015-07-01 13:42:37 -0400
  • 767b264e2b Fix demo url Luke Evers 2015-07-01 13:41:24 -0400
  • c2cce79529 Fix demo url Luke Evers 2015-07-01 13:41:24 -0400
  • 31f4f657e5 New video with video credit Luke Evers 2015-07-01 13:18:25 -0400
  • 363cd2647e Merge branch 'master' into gh-pages Luke Evers 2015-07-01 12:37:46 -0400
  • 0a0ec21807 Adding a demo link Luke Evers 2015-07-01 12:36:07 -0400
  • 21973f23ad Adding a demo link Luke Evers 2015-07-01 12:36:07 -0400
  • 92cd36ce9f Merge branch 'master' into gh-pages Luke Evers 2015-07-01 12:34:38 -0400
  • f59b874962 Don't use a callback when there's no reason to. Luke Evers 2015-07-01 12:34:24 -0400
  • e46327f3b7 Make the video muted Luke Evers 2015-07-01 12:32:57 -0400
  • 72405347c6 Adding an index.html file for gh-pages Luke Evers 2015-07-01 12:30:39 -0400
  • 7e9fa72a31 Remove callbacks in examples. Luke Evers 2015-07-01 11:30:28 -0400
  • 3183927aac Change WilliamsNY to Wiliams New York Luke Evers 2015-07-01 11:17:20 -0400
  • 67a46e4677 Remove the event variable from the onresize example Kevin MacMartin 2015-06-30 18:03:42 -0400
  • 315f245c9c Add a description of the plugin to the README Kevin MacMartin 2015-06-30 17:58:12 -0400
  • a4f32cb75a Set filetype of the code to javascript Kevin MacMartin 2015-06-30 17:47:55 -0400
  • d7dc7e8243 Update the minified version of the file Kevin MacMartin 2015-06-30 17:41:13 -0400
  • 9785bf9328 Remove scale/position events and add 'update' function that will run this functionality as needed, and update the README to reflect this change Kevin MacMartin 2015-06-30 17:40:10 -0400
  • 59fb1bf541 Update minified library Kevin MacMartin 2015-06-30 17:21:45 -0400
  • 82e8f01a65 Remove the onload scale event trigger Kevin MacMartin 2015-06-30 17:21:18 -0400
  • cdeb6371a7 Merge branch 'master' of github.com:WilliamsNY/contain-element Luke Evers 2015-06-30 16:50:58 -0400
  • c30c33d195 Adding gulp to minify with uglyjs Luke Evers 2015-06-30 16:50:22 -0400
  • a57c76b850 Perform better minification of the library Kevin MacMartin 2015-06-30 16:47:51 -0400
  • 03185c7dfd Update the minified version of the library Kevin MacMartin 2015-06-30 16:37:57 -0400
  • 113d1f7c6a Adding myself to bower.json authors Luke Evers 2015-06-30 16:36:12 -0400
  • 37297df4ee Author links should include github link Luke Evers 2015-06-30 16:35:47 -0400
  • 9aa7ecc880 Use || instead of ?: Luke Evers 2015-06-30 16:34:11 -0400
  • 10009824fc Add a bower.json Kevin MacMartin 2015-06-30 16:25:10 -0400
  • 18810bd4ef Add minified version of the library Kevin MacMartin 2015-06-30 16:15:49 -0400
  • 37288bbf11 Add a working implementation of the library and a README Kevin MacMartin 2015-06-30 16:10:22 -0400
  • 35ea40dd17 Initial commit Kevin MacMartin 2015-06-30 16:09:53 -0400