Skip to content

Instantly share code, notes, and snippets.

@SeanTay
SeanTay / gist:873d5660a75d3acb0abd2bae4e2e3ae2
Created March 12, 2018 18:45
Gulp Task - Documentation JSON
var gulp = require('gulp');
var gulpDocumentation = require('gulp-documentation');
var jsonTransform = require("gulp-json-transform");
gulp.task('documentation', function () {
// Generating README documentation
//return gulp.src(desktopBasePath + 'Sandbox/Guy/web-app/**/*.js')
return gulp.src('./dotnet/websiteDesktop/app/js/controllers/**/*.js')
// return gulp.src('./dist/json-documentation/API.json')
.pipe(gulpDocumentation('json', {filename: 'componentLibrary1.json'}))
@SeanTay
SeanTay / rspec_jasmine.md
Created July 27, 2016 14:53 — forked from kevbuchanan/rspec_jasmine.md
A basic comparison of RSpec and Jasmine tests.

RSpec vs Jasmine

A very basic intro to Jasmine tests for those familiar with RSpec

let/before

  let(:post) { Post.new("My Title", "My Content") }
 var post