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
'use strict'; | |
var BasePageObject = function(arg1) { | |
this.arg1 = arg1; | |
}; | |
BasePageObject.prototype.helloWorld = function() { | |
console.log('Hello, World!'); | |
}; |
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
'use strict'; | |
var BasePageObject = function(arg1) { | |
this.arg1 = arg1; | |
}; | |
BasePageObject.prototype.helloWorld = function() { | |
console.log('Hello, World!'); | |
}; |
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
angular.module('hf.events.builder', [ | |
'app.resources', | |
'app.values' | |
]) | |
.factory('EventBuilder', function ($injector, $window, apiUrl) { | |
var EventBuilder = function EventBuilder(message) { | |
this['@timestamp'] = new Date(); | |
this['@message'] = message || ''; | |
return this; | |
}; |
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
#!/usr/bin/env node | |
var util = require('util'), | |
fs = require('fs'), | |
url = require('url'), | |
events = require('events'), | |
http = require('http'), | |
httpProxy = require('http-proxy'), | |
proxy = new httpProxy.RoutingProxy(); |