This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Include gulp | |
| var gulp = require('gulp'); | |
| // Include plugins | |
| var less = require('gulp-less'); | |
| var please = require('gulp-pleeease'); | |
| var rename = require('gulp-rename'); | |
| var rev = require('gulp-rev-mtime'); | |
| // css Tasks | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | //var Promise = require('es6-promise').Promise; | |
| Promise.resolve({ foo: 'bar' }).then(function () { | |
| return new Promise(function (resolve, reject) { | |
| process.nextTick(resolve.bind(null, 'end')); | |
| console.log('registered'); | |
| }); | |
| }).then(console.log.bind(console, 'done')); | |
| setTimeout(console.log.bind(console, 'timeout'), 2000); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | {Template { | |
| $classpath : 'Weirdness' | |
| }} | |
| {macro main()} | |
| ${ this.data = {} } | |
| {@aria:Button { label: "Dialog on", onclick: function() { $json.setValue(data, 'visible', true); } }/} | |
| {@aria:Dialog { | |
| title : 'Dialog', | |
| contentMacro : 'dialog', | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Structure dimensions | |
| height = 98; | |
| radius = 6; | |
| hole_radius = 5; | |
| hole_width = 2; | |
| hole_offset = 10; | |
| // Choices | |
| thickness = 2; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/sh | |
| # Script for fetching sequence diagrams from www.websequencediagrams.com | |
| # Arguments: | |
| # - 1 (mandatory): text file to be used as input | |
| # - 2 (optional): output file, defaults to input file + format | |
| # Common | |
| format=png | |
| style=napkin | |
| apiVersion=1 |