Skip to content

Commit

Permalink
Merge pull request #819 from Agoric/tildotComments
Browse files Browse the repository at this point in the history
doc: Add an explanatory comment to files using the tildot notation
  • Loading branch information
Chris-Hibbert authored Apr 1, 2020
2 parents de4f3ce + e265355 commit 0ab9ebf
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import harden from '@agoric/harden';

// This javascript source file uses the "tildot" syntax (foo~.bar()) for
// eventual sends.
// https://agoric.com/documentation/ertp/guide/other-concepts.html
// Tildot is standards track with TC39, the JavaScript standards committee.
// https://github.com/tc39/proposal-wavy-dot

console.log(`=> loading bootstrap.js`);

export default function setup(syscall, state, helpers) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import harden from '@agoric/harden';

// This javascript source file uses the "tildot" syntax (foo~.bar()) for
// eventual sends.
// https://agoric.com/documentation/ertp/guide/other-concepts.html
// Tildot is standards track with TC39, the JavaScript standards committee.
// https://github.com/tc39/proposal-wavy-dot

export default function setup(syscall, state, helpers) {
function log(what) {
helpers.log(what);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import harden from '@agoric/harden';

// This javascript source file uses the "tildot" syntax (foo~.bar()) for
// eventual sends.
// https://agoric.com/documentation/ertp/guide/other-concepts.html
// Tildot is standards track with TC39, the JavaScript standards committee.
// https://github.com/tc39/proposal-wavy-dot

export default function setup(syscall, state, helpers) {
function log(what) {
helpers.log(what);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import harden from '@agoric/harden';

// This javascript source file uses the "tildot" syntax (foo~.bar()) for
// eventual sends.
// https://agoric.com/documentation/ertp/guide/other-concepts.html
// Tildot is standards track with TC39, the JavaScript standards committee.
// https://github.com/tc39/proposal-wavy-dot

console.log(`=> loading bootstrap.js`);

export default function setup(syscall, state, helpers) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import harden from '@agoric/harden';

// This javascript source file uses the "tildot" syntax (foo~.bar()) for
// eventual sends.
// https://agoric.com/documentation/ertp/guide/other-concepts.html
// Tildot is standards track with TC39, the JavaScript standards committee.
// https://github.com/tc39/proposal-wavy-dot

export default function setup(syscall, state, helpers) {
function log(what) {
helpers.log(what);
Expand Down
6 changes: 6 additions & 0 deletions packages/cosmic-swingset/lib/ag-solo/upload-contract.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// This javascript source file uses the "tildot" syntax (foo~.bar()) for
// eventual sends.
// https://agoric.com/documentation/ertp/guide/other-concepts.html
// Tildot is standards track with TC39, the JavaScript standards committee.
// https://github.com/tc39/proposal-wavy-dot

export default async function uploadContracts({ home, bundle }) {
console.error(`Installing targeted contracts...`);
await upload(home, bundle, Object.keys(bundle).filter(k => k !== 'main').sort(), true);
Expand Down

0 comments on commit 0ab9ebf

Please sign in to comment.