This file contains 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
//helper function for DOM manipulation | |
var updateDOM = function(res,res2,res3){ | |
$('#res').html(JSON.stringify(res)); | |
$('#res2').html(JSON.stringify(res2)); | |
$('#res3').html(JSON.stringify(res3)); | |
}; | |
//Defines a generator to call a JSON webservice. | |
//info 1: for each "yield" a separate generator call is needed | |
//this is why generators are called "pausable functions" |
This file contains 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
/* jshint strict : false */ | |
var gulp = require('gulp'); | |
var gutil = require('gulp-util'); | |
var plumber = require('gulp-plumber'); | |
var webpack = require('webpack'); | |
var msbuild = require("gulp-msbuild"); | |
var nodemon = require('nodemon'); | |
var webpackConfigPath = require('./webpack.config'); | |
var vsSolutionPath = 'PATH_TO_VISUAL_STUDIO_SOLUTION'; | |
var watchPaths = [ |
This file contains 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
(function () { | |
/* converted by @brakmic */ | |
/* original code: https://github.com/isaacs/json-stringify-safe */ | |
/* usage example: | |
* | |
*angular.module("myModule", ['jsonStringify']) | |
* .controller("MainCtrl", ['StringifyJsonService', MainCtrl]); | |
* |
NewerOlder