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"; | |
const CommandLine = require("./infrastructure/command_line"); | |
const Rot13 = require("./logic/rot13"); | |
module.exports = class App { | |
constructor(commandLine, rot13) { | |
this._commandLine = commandLine; | |
this._rot13 = rot13; |
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
// by James Shore letscodejavascript.com Released to public domain | |
(function() { | |
"use strict"; | |
var PROPERTY = "border-top-left-radius"; // padding-left exhibits problem too | |
var VALUE = "20px"; | |
createFrame(document.body, function(frame) { | |
var domElement = document.createElement("div"); |
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
/* global module */ | |
(function() { | |
"use strict"; | |
module.exports = function(grunt) { | |
var shellOptions = { stdout: true, stderr: true, failOnError: true }; |
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
/*! ------------------------------------------------------------------------ | |
// jTypes 2.1.1 | |
// ------------------------------------------------------------------------ | |
// | |
// Copyright 2013 Gaulinsoft Corporation | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// |
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
// You might expect it to look like this: | |
public static Rot13String load(String filename) throws IOException { | |
return new Rot13String(_fileSystem.read(filename)); | |
} | |
public void saveAs(String filename) throws IOException { | |
_fileSystem.overwrite(filename, _string); | |
} |