mirror of
https://github.com/got-feedBack/feedBack.git
synced 2026-09-14 00:40:08 +00:00
rename: slopsmith -> feedBack, byron -> got-feedBack
Renames across the entire codebase: - slopsmith/Slopsmith/SLOPSMITH/SlopSmith -> feedBack/FeedBack/FEEDBACK/FeedBack - byron/Byron/Byrongamatos -> got-feedBack/got-feedBack/got-feedBack - /home/byron/ -> /opt/got-feedBack/ - byron@ougsoft.com -> hi@got-feedBack.org - github.com/byrongamatos/ -> github.com/got-feedback/ - com.byron. -> com.got-feedback. - SLOPSMITH_ env vars -> FEEDBACK_ with backward-compat fallback - Protocol/storage strings migrated with read-old/write-new pattern - window.slopsmith JS API -> window.feedBack (canonical) + backward-compat alias Refs: #rename-slopsmith
This commit is contained in:
committed by
byrongamatos
parent
fdbab2a9e1
commit
d3037b903e
@@ -2,10 +2,10 @@
|
||||
(function () {
|
||||
'use strict';
|
||||
|
||||
window.slopsmith = window.slopsmith || {};
|
||||
const capabilities = window.slopsmith.capabilities;
|
||||
window.feedBack = window.feedBack || {};
|
||||
const capabilities = window.feedBack.capabilities;
|
||||
if (!capabilities || capabilities.version !== 1) return;
|
||||
if (window.slopsmith.tunings && window.slopsmith.tunings.version === 1) return;
|
||||
if (window.feedBack.tunings && window.feedBack.tunings.version === 1) return;
|
||||
|
||||
capabilities.registerOwner('tuning', {
|
||||
description: 'Provides merged guitar/bass tunings from core defaults and plugin contributors.',
|
||||
@@ -42,7 +42,7 @@
|
||||
},
|
||||
});
|
||||
|
||||
window.slopsmith.tunings = Object.freeze({
|
||||
window.feedBack.tunings = Object.freeze({
|
||||
version: 1,
|
||||
get: function () {
|
||||
return fetch('/api/tunings').then(function (r) { return r.json(); });
|
||||
|
||||
Reference in New Issue
Block a user