Skip to content

Commit

Permalink
disable astro toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
daslyfe committed Jan 29, 2025
1 parent 7085662 commit 1d02889
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/pick.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ Copyright (C) 2024 Strudel contributors - see <https://github.com/tidalcycles/st
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

import { Pattern, reify, silence, register } from './pattern.mjs';
import { reify, silence, register } from './pattern.mjs';

import { _mod, clamp, objectMap } from './util.mjs';

const _pick = function (lookup, pat, modulo = true) {
export const _pick = function (lookup, pat, modulo = true) {
const array = Array.isArray(lookup);
const len = Object.keys(lookup).length;

Expand Down
3 changes: 3 additions & 0 deletions website/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ const options = {

// https://astro.build/config
export default defineConfig({
devToolbar: {
enabled: false
},
integrations: [
react(),
mdx(options),
Expand Down

0 comments on commit 1d02889

Please sign in to comment.