Skip to content

Commit

Permalink
Signalification
Browse files Browse the repository at this point in the history
  • Loading branch information
stephband committed Oct 15, 2024
1 parent bd899e0 commit 41bd377
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion module.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ A `<slide-show>` is not just for images. Content may be any HTML. Here's a
// https://caniuse.com/?search=scrollto
//import 'dom/polyfills/element.scrollto.js';

import element from 'dom/element.js';
import element from 'dom/element-1.js';
import lifecycle from './modules/lifecycle.js';
import properties from './modules/properties.js';

Expand Down
4 changes: 2 additions & 2 deletions modules/lifecycle.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ export default {
shadow.append(slides, controls);

// Stream to push load to
const connects = Stream.broadcast();
const load = Stream.broadcast();
const connects = Stream.of();
const load = Stream.of();

// In Chrome and FF initial `slotchange` event is always sent before
// load, but not so in Safari where either order may happen (at a guess
Expand Down
4 changes: 2 additions & 2 deletions modules/properties.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

import createBoolean from 'dom/element/create-boolean.js';
import createTokenList from 'dom/element/create-token-list.js';
import createBoolean from 'dom/element-1/create-boolean.js';
import createTokenList from 'dom/element-1/create-token-list.js';

import { $data } from './consts.js';
import * as autoplay from './autoplay.js';
Expand Down
4 changes: 2 additions & 2 deletions modules/scrollends.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Much of this code has been purloined from targetable.js – do we need the
// hashchange tracking here? I have commented it

import Stream, { stop } from 'fn/stream/stream.js';
import Stream from 'fn/stream/stream.js';
import { getScrollInterval, updateScrollInterval } from './consts.js';

const assign = Object.assign;
Expand Down Expand Up @@ -47,7 +47,7 @@ assign(ScrollendsProducer.prototype, {

stop: function() {
this.element.removeEventListener('scroll', this);
stop(this.stream);
Stream.stop(this.stream);
}
});

Expand Down

0 comments on commit 41bd377

Please sign in to comment.