Skip to content

Commit

Permalink
Still fixing paths
Browse files Browse the repository at this point in the history
  • Loading branch information
robmoffat committed Jul 12, 2022
1 parent 32e2262 commit 9f4ef20
Show file tree
Hide file tree
Showing 134 changed files with 379 additions and 379 deletions.
2 changes: 1 addition & 1 deletion client/behaviours/actionable/actionable.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'

/**
* Allows the context menu to appear when the user clicks an element with an id
Expand Down
4 changes: 2 additions & 2 deletions client/behaviours/animation/animation.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { parseTransform, number, handleTransformAsStyle } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { parseTransform, number, handleTransformAsStyle } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'

/**
* Somehow, someday, make these extensible
Expand Down
4 changes: 2 additions & 2 deletions client/behaviours/containers/child/containers-child.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { hasLastSelected, createUniqueId } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { hasLastSelected, createUniqueId } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'


function defaultChildSelector() {
Expand Down
8 changes: 4 additions & 4 deletions client/behaviours/containers/contain/containers-contain.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { hasLastSelected, createUniqueId, getParentElement, getNextSiblingId, getParentElements } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { getBeforeId } from '/github/kite9-org/kite9/client/bundles/ordering.js?v=v0.8'
import { hasLastSelected, createUniqueId, getParentElement, getNextSiblingId, getParentElements } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'
import { getBeforeId } from '/github/kite9-org/kite9/client/bundles/ordering.js?v=v0.9'


function defaultContainSelector() {
Expand Down Expand Up @@ -98,7 +98,7 @@ export function initContainContextMenuCallback(palette, containment, selector) {
const parentElements = getParentElements(selectedElements);

if (containment.canInsert(parentElements, selectedElements)) {
contextMenu.addControl(event, "/public/behaviours/containers/contain/contain.svg", "Contain",
contextMenu.addControl(event, "/github/kite9-org/kite9/client/behaviours/containers/contain/contain.svg", "Contain",
function(e2) {
contextMenu.destroy();
palette.open(
Expand Down
6 changes: 3 additions & 3 deletions client/behaviours/containers/drag/containers-drag.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getSVGCoords, getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { handleTransformAsStyle, getKite9Target, getParentElement, getNextSiblingId, onlyUnique, isLink, isConnected } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { getBeforeId } from '/github/kite9-org/kite9/client/bundles/ordering.js?v=v0.8'
import { getSVGCoords, getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'
import { handleTransformAsStyle, getKite9Target, getParentElement, getNextSiblingId, onlyUnique, isLink, isConnected } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { getBeforeId } from '/github/kite9-org/kite9/client/bundles/ordering.js?v=v0.9'

export function initContainerDropLocatorFunction(containment) {

Expand Down
8 changes: 4 additions & 4 deletions client/behaviours/containers/insert/containers-insert.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { hasLastSelected, getKite9Target, createUniqueId, changeId } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { getMainSvg, getSVGCoords, getElementPageBBox, currentTarget } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { getBefore } from '/github/kite9-org/kite9/client/bundles/ordering.js?v=v0.8'
import { hasLastSelected, getKite9Target, createUniqueId, changeId } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { getMainSvg, getSVGCoords, getElementPageBBox, currentTarget } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'
import { getBefore } from '/github/kite9-org/kite9/client/bundles/ordering.js?v=v0.9'


function defaultInsertSelector() {
Expand Down Expand Up @@ -129,7 +129,7 @@ export function initInsertContextMenuCallback(palette, containment, selector) {
const allowed = containment.canInsert(selectedElements);
if (allowed) {
// console.log("Allowing insert with types: "+allowedTypes);
contextMenu.addControl(event, "/public/behaviours/containers/insert/insert.svg", "Insert",
contextMenu.addControl(event, "/github/kite9-org/kite9/client/behaviours/containers/insert/insert.svg", "Insert",
function(e2, selector) {
contextMenu.destroy();
// primes this based on the screen.
Expand Down
8 changes: 4 additions & 4 deletions client/behaviours/containers/layout/containers-layout.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { hasLastSelected, isConnected, parseInfo } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { getSVGCoords, getElementPageBBox, getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { drawBar, clearBar } from '/github/kite9-org/kite9/client/bundles/ordering.js?v=v0.8'
import { hasLastSelected, isConnected, parseInfo } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { getSVGCoords, getElementPageBBox, getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'
import { drawBar, clearBar } from '/github/kite9-org/kite9/client/bundles/ordering.js?v=v0.9'

function getLayout(e) {
if (e==null) {
Expand All @@ -17,7 +17,7 @@ function drawLayout(event, cm, layout, selected) {
layout = "none";
}

var out = cm.addControl(event, "/public/behaviours/containers/layout/" + layout.toLowerCase() + ".svg",
var out = cm.addControl(event, "/github/kite9-org/kite9/client/behaviours/containers/layout/" + layout.toLowerCase() + ".svg",
"Layout (" + layout + ")",
undefined);

Expand Down
2 changes: 1 addition & 1 deletion client/behaviours/containers/rules/containers-rules.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isGrid } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { isGrid } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
/**
* Three attributes:
*
Expand Down
6 changes: 3 additions & 3 deletions client/behaviours/dragable/dragable.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getSVGCoords, getMainSvg, is_touch_device4 } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { handleTransformAsStyle, getKite9Target, isConnected, isDiagram, getParentElement, onlyUnique } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { getBeforeId } from '/github/kite9-org/kite9/client/bundles/ordering.js?v=v0.8'
import { getSVGCoords, getMainSvg, is_touch_device4 } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'
import { handleTransformAsStyle, getKite9Target, isConnected, isDiagram, getParentElement, onlyUnique } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { getBeforeId } from '/github/kite9-org/kite9/client/bundles/ordering.js?v=v0.9'

export function initDragable(dragger, selector) {

Expand Down
14 changes: 7 additions & 7 deletions client/behaviours/editable/image/editable-image.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { hasLastSelected} from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { icon, form, text, p, inlineButtons, ok, cancel, formValues, img, fieldset, div } from '/github/kite9-org/kite9/client/bundles/form.js?v=v0.8'
import { hasLastSelected} from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'
import { icon, form, text, p, inlineButtons, ok, cancel, formValues, img, fieldset, div } from '/github/kite9-org/kite9/client/bundles/form.js?v=v0.9'

const LOADING = '/public/behaviours/editable/image/loading.svg';
const SUCCESS = '/public/behaviours/editable/image/success.svg';
const FAIL = '/public/behaviours/editable/image/fail.svg';
const LOADING = '/github/kite9-org/kite9/client/behaviours/editable/image/loading.svg';
const SUCCESS = '/github/kite9-org/kite9/client/behaviours/editable/image/success.svg';
const FAIL = '/github/kite9-org/kite9/client/behaviours/editable/image/fail.svg';

export function initEditableImageContextMenuCallback(command, metadata, selector) {

Expand Down Expand Up @@ -87,7 +87,7 @@ export function initEditableImageContextMenuCallback(command, metadata, selector

if (elements.length> 0) {
const last = hasLastSelected(elements, true);
contextMenu.addControl(event, "/public/behaviours/editable/image/edit.svg", 'Edit Image', () => {
contextMenu.addControl(event, "/github/kite9-org/kite9/client/behaviours/editable/image/edit.svg", 'Edit Image', () => {
const href = last.getAttribute("href");

contextMenu.clear();
Expand Down
6 changes: 3 additions & 3 deletions client/behaviours/editable/text/editable-text.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { hasLastSelected } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { textarea, form, ok, cancel, inlineButtons, formValues } from '/github/kite9-org/kite9/client/bundles/form.js?v=v0.8'
import { hasLastSelected } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { textarea, form, ok, cancel, inlineButtons, formValues } from '/github/kite9-org/kite9/client/bundles/form.js?v=v0.9'

export function initEditContextMenuCallback(command, selector, textCollector) {

Expand Down Expand Up @@ -37,7 +37,7 @@ export function initEditContextMenuCallback(command, selector, textCollector) {

if (selectedElements.length > 0) {

cm.addControl(event, "/public/behaviours/editable/text/edit.svg", 'Edit Text', () => {
cm.addControl(event, "/github/kite9-org/kite9/client/behaviours/editable/text/edit.svg", 'Edit Text', () => {
const defaultText = textCollector(hasLastSelected(selectedElements, true));
cm.clear();
var htmlElement = cm.get(event);
Expand Down
10 changes: 5 additions & 5 deletions client/behaviours/editable/xml/editable-xml.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Modal } from '/github/kite9-org/kite9/client/classes/modal/modal.js?v=v0.8'
import { hasLastSelected, encodeADLElement } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { form, ok, cancel, inlineButtons, formFields } from '/github/kite9-org/kite9/client/bundles/form.js?v=v0.8'
import { ensureCss } from '/github/kite9-org/kite9/client/bundles/ensure.js?v=v0.8'
import { Modal } from '/github/kite9-org/kite9/client/classes/modal/modal.js?v=v0.9'
import { hasLastSelected, encodeADLElement } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { form, ok, cancel, inlineButtons, formFields } from '/github/kite9-org/kite9/client/bundles/form.js?v=v0.9'
import { ensureCss } from '/github/kite9-org/kite9/client/bundles/ensure.js?v=v0.9'
import '/webjars/codemirror/5.58.3/lib/codemirror.js';
import '/webjars/codemirror/5.58.3/mode/xml/xml.js';

Expand Down Expand Up @@ -46,7 +46,7 @@ export function initXMLContextMenuCallback(command, selector, xmlCollector) {
if (selectedElements.length == 1) {
const theElement = selectedElements[0];

cm.addControl(event, "/public/behaviours/editable/xml/xml.svg", 'Edit XML', () => {
cm.addControl(event, "/github/kite9-org/kite9/client/behaviours/editable/xml/xml.svg", 'Edit XML', () => {
const defaultText = xmlCollector(theElement);
cm.destroy();
xmlModal.clear();
Expand Down
8 changes: 4 additions & 4 deletions client/behaviours/grid/append/append.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { hasLastSelected, getParentElement, parseInfo, createUniqueId, getContainedChildren } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { nextOrdinal, getOrdinals } from '/github/kite9-org/kite9/client/behaviours/grid/common-grid.js?v=v0.8'
import { hasLastSelected, getParentElement, parseInfo, createUniqueId, getContainedChildren } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { nextOrdinal, getOrdinals } from '/github/kite9-org/kite9/client/behaviours/grid/common-grid.js?v=v0.9'


export function initCellAppendContextMenuCallback(command, selector) {
Expand Down Expand Up @@ -131,12 +131,12 @@ export function initCellAppendContextMenuCallback(command, selector) {
cm.clear(event);

["right", "down", "left", "up"].forEach(s => {
cm.addControl(event, "/public/behaviours/grid/append/" + s.toLowerCase() + ".svg",
cm.addControl(event, "/github/kite9-org/kite9/client/behaviours/grid/append/" + s.toLowerCase() + ".svg",
"Append (" + s + ")", () => appendsCells(selector(), s, cm));
});
}

cm.addControl(event, "/public/behaviours/grid/append/append.svg", 'Append', () => handleClick());
cm.addControl(event, "/github/kite9-org/kite9/client/behaviours/grid/append/append.svg", 'Append', () => handleClick());
}
}

Expand Down
2 changes: 1 addition & 1 deletion client/behaviours/grid/common-grid.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { parseInfo } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { parseInfo } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'


export function getOrdinal(index, ordinals) {
Expand Down
8 changes: 4 additions & 4 deletions client/behaviours/grid/drag/grid-drag.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { parseInfo, getParentElement, isConnected, isDiagram, isCell, isGrid, getContainerChildren, getNextSiblingId, } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { drawBar, getBefore, clearBar } from '/github/kite9-org/kite9/client/bundles/ordering.js?v=v0.8'
import { getElementPageBBox, getSVGCoords, getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { getOrdinal, getOrdinals } from '/github/kite9-org/kite9/client/behaviours/grid/common-grid.js?v=v0.8'
import { parseInfo, getParentElement, isConnected, isDiagram, isCell, isGrid, getContainerChildren, getNextSiblingId, } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { drawBar, getBefore, clearBar } from '/github/kite9-org/kite9/client/bundles/ordering.js?v=v0.9'
import { getElementPageBBox, getSVGCoords, getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'
import { getOrdinal, getOrdinals } from '/github/kite9-org/kite9/client/behaviours/grid/common-grid.js?v=v0.9'

function isEmptyGrid(e) {
if (isGrid(e)) {
Expand Down
10 changes: 5 additions & 5 deletions client/behaviours/grid/layout/grid-layout.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { icon, numeric, change, form } from '/github/kite9-org/kite9/client/bundles/form.js?v=v0.8'
import { hasLastSelected, parseInfo, number, createUniqueId, getContainedChildren } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { getOrdinals } from '/github/kite9-org/kite9/client/behaviours/grid/common-grid.js?v=v0.8'
import { icon, numeric, change, form } from '/github/kite9-org/kite9/client/bundles/form.js?v=v0.9'
import { hasLastSelected, parseInfo, number, createUniqueId, getContainedChildren } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'
import { getOrdinals } from '/github/kite9-org/kite9/client/behaviours/grid/common-grid.js?v=v0.9'

function getMinGridSize(e) {
const info = parseInfo(e);
Expand Down Expand Up @@ -170,7 +170,7 @@ export function initGridLayoutPropertyFormCallback() {
(evt) => cols = number(evt.target.value))
]));

var img2 = contextMenu.addControl(event, "/public/behaviours/containers/layout/grid.svg","Grid", undefined);
var img2 = contextMenu.addControl(event, "/github/kite9-org/kite9/client/behaviours/containers/layout/grid.svg","Grid", undefined);
img2.children[0].style.borderRadius = "0px";
img2.setAttribute("title", "grid");
img2.addEventListener("click", (formEvent) => propertyOwner.setProperty(contextEvent, formEvent, contextMenu, selectedElements));
Expand Down
4 changes: 2 additions & 2 deletions client/behaviours/grid/replace/grid-replace.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { createUniqueId, parseInfo, getKite9Target, hasLastSelected } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'
import { createUniqueId, parseInfo, getKite9Target, hasLastSelected } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'

/**
* Allows you to select temporary grid elements.
Expand Down
4 changes: 2 additions & 2 deletions client/behaviours/grid/rules/grid-rules.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { parseInfo, getParentElement, isConnected, isDiagram, isGrid, getContainerChildren, getNextSiblingId, } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { parseInfo, getParentElement, isConnected, isDiagram, isGrid, getContainerChildren, getNextSiblingId, } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'

export function initGridContainmentCallback() {

Expand Down
6 changes: 3 additions & 3 deletions client/behaviours/grid/select/grid-select.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { hasLastSelected, getParentElement, parseInfo } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { hasLastSelected, getParentElement, parseInfo } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'


export function initSelectContextMenuCallback(selector) {
Expand Down Expand Up @@ -44,8 +44,8 @@ export function initSelectContextMenuCallback(selector) {
const e = hasLastSelected(selector());

if (e.length > 0) {
cm.addControl(event, "/public/behaviours/grid/select/vertical.svg", "Select Column", () => performSelect(cm, event, false, selector()));
cm.addControl(event, "/public/behaviours/grid/select/horizontal.svg", "Select Row", () => performSelect(cm, event, true, selector()));
cm.addControl(event, "/github/kite9-org/kite9/client/behaviours/grid/select/vertical.svg", "Select Column", () => performSelect(cm, event, false, selector()));
cm.addControl(event, "/github/kite9-org/kite9/client/behaviours/grid/select/horizontal.svg", "Select Row", () => performSelect(cm, event, true, selector()));
}
}

Expand Down
4 changes: 2 additions & 2 deletions client/behaviours/hoverable/hoverable.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getMainSvg, getHtmlCoords, currentTarget } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { getKite9Target } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.8'
import { getMainSvg, getHtmlCoords, currentTarget } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'
import { getKite9Target } from '/github/kite9-org/kite9/client/bundles/api.js?v=v0.9'


/**
Expand Down
4 changes: 2 additions & 2 deletions client/behaviours/identity/collaborators.css
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
@font-face {
font-family: "metropolis";
src: url('/github/kite9-org/kite9/client/fonts/metropolis/Metropolis-Regular.ttf?v=v0.8')
src: url('/github/kite9-org/kite9/client/fonts/metropolis/Metropolis-Regular.ttf?v=v0.9')
format('truetype');
font-weight: 400;
}

@font-face {
font-family: "metropolis";
src: url('/github/kite9-org/kite9/client/fonts/metropolis/Metropolis-Light.ttf?v=v0.8')
src: url('/github/kite9-org/kite9/client/fonts/metropolis/Metropolis-Light.ttf?v=v0.9')
format('truetype');
font-weight: 200;
}
Expand Down
8 changes: 4 additions & 4 deletions client/behaviours/identity/identity.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { icon, fieldset, form, cancel } from '/github/kite9-org/kite9/client/bundles/form.js?v=v0.8'
import { ensureCss } from '/github/kite9-org/kite9/client/bundles/ensure.js?v=v0.8'
import { icon, fieldset, form, cancel } from '/github/kite9-org/kite9/client/bundles/form.js?v=v0.9'
import { ensureCss } from '/github/kite9-org/kite9/client/bundles/ensure.js?v=v0.9'

const NO_USER = {
name: "Anonymous",
icon: '/public/behaviours/identity/user.svg',
icon: '/github/kite9-org/kite9/client/behaviours/identity/user.svg',
}

var currentUser = NO_USER;
Expand Down Expand Up @@ -92,7 +92,7 @@ function updateUser(user, alert, notification) {
export function initIdentityInstrumentationCallback() {
return function(nav) {
navigator = nav;
ensureCss('/public/behaviours/identity/collaborators.css?v=v0.8');
ensureCss('/github/kite9-org/kite9/client/behaviours/identity/collaborators.css?v=v0.9');
updateUser(currentUser);
}
}
8 changes: 4 additions & 4 deletions client/behaviours/indication/toggle/toggle.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.8'
import { ensureCss } from '/github/kite9-org/kite9/client/bundles/ensure.js?v=v0.8'
import { icon } from '/github/kite9-org/kite9/client/bundles/form.js?v=v0.8'
import { getMainSvg } from '/github/kite9-org/kite9/client/bundles/screen.js?v=v0.9'
import { ensureCss } from '/github/kite9-org/kite9/client/bundles/ensure.js?v=v0.9'
import { icon } from '/github/kite9-org/kite9/client/bundles/form.js?v=v0.9'


export function initToggleInstrumentationCallback(on) {
Expand All @@ -16,7 +16,7 @@ export function initToggleInstrumentationCallback(on) {

if (toggle == undefined) {

toggle = nav.appendChild(icon('_indication-toggle', "Toggle Indicators", '/public/behaviours/indication/toggle/toggle.svg', function() {
toggle = nav.appendChild(icon('_indication-toggle', "Toggle Indicators", '/github/kite9-org/kite9/client/behaviours/indication/toggle/toggle.svg', function() {
if (main.classList.contains('indicators-on')) {
main.classList.remove('indicators-on');
toggle.classList.remove('on');
Expand Down
Loading

0 comments on commit 9f4ef20

Please sign in to comment.