Skip to content
Merged

Frog #43

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23,811 changes: 0 additions & 23,811 deletions docs/bcd/bcd-data.js

This file was deleted.

19 changes: 17 additions & 2 deletions docs/bcd/client-bcd.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
import { BcdTimelineApp } from './src/BcdTimelineApp.js';
import { TimelineApp } from './src/TimelineApp.js';
import { browsers, bcdKeys } from './data/bcd-data.js';
import { processBcdKeys } from './src/data-processor.js';

// Initialize the app
const app = new BcdTimelineApp();
const app = new TimelineApp({
idPrefix: 'bcd',
dataLoader: function () {
this.bcdKeys = processBcdKeys(bcdKeys, browsers, {
developerSignals: this.developerSignals,
interop: this.interopData,
mdn: this.mdnDocs
});
this.allFeatures = [...this.bcdKeys];
this.features = this.allFeatures;
}
});
app.loadData();
app.init();

// Scroll to current month on load if no hash
if (!window.location.hash) {
Expand Down
880 changes: 440 additions & 440 deletions docs/bcd/index.html

Large diffs are not rendered by default.

Loading