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
var url_parts = url.parse(req.url, true); | |
var query1 = url_parts.query; | |
// Build the post string from an object | |
var query=querystring.stringify(query1); | |
var post_options = { | |
host: 'steamcommunity.com', | |
port: '443', |
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 (name, context, definition) { context[name] = definition.call(context); if (typeof module !== "undefined" && module.exports) { module.exports = context[name]; } else if (typeof define == "function" && define.amd) { define(function reference() { return context[name]; }); }})("Primus", this, function PRIMUS() {/*globals require, define */ | |
'use strict'; | |
/** | |
* Minimal EventEmitter interface that is molded against the Node.js | |
* EventEmitter interface. | |
* | |
* @constructor | |
* @api public | |
*/ |
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
import { Directive, ElementRef, Input } from '@angular/core'; | |
declare var ImgCache: any; | |
@Directive({ | |
selector: '[image-cache]' | |
}) | |
export class ImageCacheDirective { | |
constructor ( | |
private el: ElementRef |