From a90c1aeafe0ab94cb20e0f0f40fda2b740a3bb15 Mon Sep 17 00:00:00 2001 From: Mihai Bazon Date: Wed, 7 Nov 2012 11:49:06 +0200 Subject: further fix for parens around New (refs #35) --- lib/output.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/output.js b/lib/output.js index 22ee31e4..2a177684 100644 --- a/lib/output.js +++ b/lib/output.js @@ -475,8 +475,9 @@ function OutputStream(options) { PARENS(AST_New, function(output){ var p = output.parent(); - // (new Date).getTime(); - if (p instanceof AST_Dot && no_constructor_parens(this, output)) + if (no_constructor_parens(this, output) + && (p instanceof AST_Dot // (new Date).getTime() + || p instanceof AST_Call && p.expression === this)) // (new foo)(bar) return true; }); -- cgit v1.2.3 ption value='koszko' selected='selected'>koszko Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/system/examples/vm-image.tmpl
AgeCommit message (Expand)Author
2021-08-29Migrate to the new 'targets' field of bootloader-configuration....The old 'target' field is deprecated; adjust the sources to use the new 'targets' one instead. * doc/guix-cookbook.texi<target>: Replace by 'targets'. * gnu/bootloader/grub.scm: Likewise. * gnu/installer/parted.scm: Likewise. * gnu/machine/digital-ocean.scm: Likewise. * gnu/system/examples/asus-c201.tmpl: Likewise * gnu/system/examples/bare-bones.tmpl: Likewise * gnu/system/examples/bare-hurd.tmpl: Likewise * gnu/system/examples/beaglebone-black.tmpl: Likewise * gnu/system/examples/desktop.tmpl: Likewise * gnu/system/examples/docker-image.tmpl: Likewise * gnu/system/examples/lightweight-desktop.tmpl: Likewise * gnu/system/examples/vm-image.tmpl: Likewise * gnu/system/examples/yggdrasil.tmpl: Likewise * gnu/system/hurd.scm: Likewise * gnu/system/images/hurd.scm: Likewise * gnu/system/images/novena.scm: Likewise * gnu/system/images/pine64.scm: Likewise * gnu/system/images/pinebook-pro.scm: Likewise * gnu/system/images/rock64.scm: Likewise * gnu/system/install.scm: Likewise * gnu/system/vm.scm: Likewise * gnu/tests.scm: Likewise * gnu/tests/ganeti.scm: Likewise * gnu/tests/install.scm: Likewise * gnu/tests/nfs.scm: Likewise * gnu/tests/telephony.scm: Likewise * tests/boot-parameters.scm: Likewise * tests/system.scm: Likewise Maxim Cournoyer
2021-05-10system: vm-image.tmpl: Add a crutch to allow refreshing the resolution....Inspired by https://github.com/jollheef/appvm/commit/1270b2e209bc002e69bbe6351ad5b04b7facfcc8. The price to pay is about 5% of a CPU core usage in the guest in the worst scenario. * gnu/system/examples/vm-image.tmpl (auto-update-resolution-crutch): New mcron job. [services]: Extend the mcron-service with it. Maxim Cournoyer
2021-05-06gnu: system: Add SPICE capability to the VM image....* gnu/system/examples/vm-image.tmpl (services) [spice-vdagent-service-type]: Add service. [slim-service-type] <xorg-configuration>: Add the xf86-video-qxl module. Maxim Cournoyer
2019-12-07system: Remove custom 'config-file service from "vm-image.tmpl"....This example is broken since commit 99c45877a984dd0148151b2e304afef6fb04f1a5 (wrong file name passed to 'local-file'), and its functionality is superseded by the upcoming 'provenance-service-type'. * gnu/system/examples/vm-image.tmpl (this-file): Remove. <services>: Remove 'config-file service. Ludovic Courtès