Skip to content

Commit

Permalink
Rebuild assets
Browse files Browse the repository at this point in the history
cb0f84e changed the assets code but did not run `mix assets.build`.
  • Loading branch information
indrekj committed Dec 2, 2024
1 parent 1a61c90 commit b409079
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 11 deletions.
4 changes: 2 additions & 2 deletions priv/static/phoenix.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions priv/static/phoenix.cjs.js.map

Large diffs are not rendered by default.

18 changes: 16 additions & 2 deletions priv/static/phoenix.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,21 @@ var Phoenix = (() => {
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __propIsEnum = Object.prototype.propertyIsEnumerable;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __spreadValues = (a, b) => {
for (var prop in b || (b = {}))
if (__hasOwnProp.call(b, prop))
__defNormalProp(a, prop, b[prop]);
if (__getOwnPropSymbols)
for (var prop of __getOwnPropSymbols(b)) {
if (__propIsEnum.call(b, prop))
__defNormalProp(a, prop, b[prop]);
}
return a;
};
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
Expand Down Expand Up @@ -693,14 +707,14 @@ var Phoenix = (() => {
if (changes[key]) {
changes[key].leftMetas = leftPresence.metas;
} else {
changes[key] = { joinedMetas: [], leftMetas: leftPresence.metas, update: leftPresence };
changes[key] = { joinedMetas: [], leftMetas: leftPresence.metas, update: {} };
}
});
this.map(changes, (key, { joinedMetas, leftMetas, update }) => {
const joinedRefs = joinedMetas.map((m) => m.phx_ref);
const refsToRemove = leftMetas.map((m) => m.phx_ref);
const oldPresence = state[key];
const newPresence = { metas: oldPresence ? oldPresence.metas : [] };
const newPresence = oldPresence ? __spreadValues({}, oldPresence) : { metas: [] };
newPresence.metas = newPresence.metas.filter((m) => joinedRefs.indexOf(m.phx_ref) === -1).concat(joinedMetas).filter((p) => refsToRemove.indexOf(p.phx_ref) === -1);
Object.keys(update).forEach((key2) => {
if (key2 !== "metas")
Expand Down
2 changes: 1 addition & 1 deletion priv/static/phoenix.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions priv/static/phoenix.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -664,14 +664,14 @@ var Presence = class {
if (changes[key]) {
changes[key].leftMetas = leftPresence.metas;
} else {
changes[key] = { joinedMetas: [], leftMetas: leftPresence.metas, update: leftPresence };
changes[key] = { joinedMetas: [], leftMetas: leftPresence.metas, update: {} };
}
});
this.map(changes, (key, { joinedMetas, leftMetas, update }) => {
const joinedRefs = joinedMetas.map((m) => m.phx_ref);
const refsToRemove = leftMetas.map((m) => m.phx_ref);
const oldPresence = state[key];
const newPresence = { metas: oldPresence ? oldPresence.metas : [] };
const newPresence = oldPresence ? { ...oldPresence } : { metas: [] };
newPresence.metas = newPresence.metas.filter((m) => joinedRefs.indexOf(m.phx_ref) === -1).concat(joinedMetas).filter((p) => refsToRemove.indexOf(p.phx_ref) === -1);
Object.keys(update).forEach((key2) => {
if (key2 !== "metas")
Expand Down
4 changes: 2 additions & 2 deletions priv/static/phoenix.mjs.map

Large diffs are not rendered by default.

0 comments on commit b409079

Please sign in to comment.