-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix build problem: ERROR in ./~/css-loader!./~/sass-loader!./src/style.sass Module build failed: .scrub-thumbnails { ^ Invalid CSS after "...ub-thumbnails {": expected "}", was "{" in /home/heberte/terabit/clappr-thumbnails-plugin/src/style.sass (line 3, column 20) @ ./src/style.sass 4:14-116 Renaming src/style.sass to src/style.scss and change referencies in src/index.js and webpack.config.js * Fix 'Symbol' not defined in IE browser * - Remove JQuery dependency. This greatly reduces the final size of the script * Only the function outerWidth() was used from JQuery, but the diference between width() and outerWidth() in the spotlight was very small. Then outerWidth() was changed to width() - Changed the form of the creation of the plugin to use template * The tags for spotligth, backdrop and backdropCarousel are added by the template - Fix the problem 'Symbol' not defined in IE 11 - Rewrite the initialization to work in IE11 * Loads the thumbnails using Image() object instead of adding in the tag _$imageCache * Search for _$spotligth, _$backdrop and _$backdropCarousel before use rather than maintaining the reference * Always call _render() and _init() on MEDIACONTROL_RENDERED event - Build the release version with ~8KB
- Loading branch information
1 parent
97dd1bd
commit 17de44e
Showing
6 changed files
with
75 additions
and
84 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "clappr-thumbnails-plugin", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "A plugin for clappr which will display thumbnails when hovering over the scrub bar.", | ||
"main": "dist/clappr-thumbnails-plugin.js", | ||
"scripts": { | ||
|
@@ -10,16 +10,18 @@ | |
"author": "Thomas Jenkinson <[email protected]>", | ||
"license": "MIT", | ||
"repository": "tjenkinson/clappr-thumbnails-plugin", | ||
"dependencies": { | ||
"clappr": "latest" | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.7.5", | ||
"babel-loader": "^6.2.4", | ||
"babel-plugin-add-module-exports": "^0.1.2", | ||
"babel-preset-es2015": "^6.6.0", | ||
"clappr": "^0.2.13", | ||
"clean-webpack-plugin": "^0.1.3", | ||
"compass-mixins": "^0.12.7", | ||
"css-loader": "^0.23.1", | ||
"jquery": "^2.1.4", | ||
"html-loader": "^0.3.0", | ||
"node-sass": "^3.3.3", | ||
"sass-loader": "^3.0.0", | ||
"style-loader": "^0.13.1", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<% if (backdropHeight) { %> | ||
<div class="backdrop" style="height: <%= backdropHeight%>px;" data-backdrop><div class="carousel" data-backdrop-carousel></div></div> | ||
<% }; %> | ||
<% if (spotlightHeight) { %> | ||
<div class="spotlight" style="height: <%= spotlightHeight%>px;" data-spotlight></div> | ||
<% }; %> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters