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 slideShow(origen, posOrigen){ | |
var idRuta = getRuta(); | |
var next = document.getElementById('next'); | |
var back = document.getElementById('back'); | |
var img = document.getElementById('slideShowImg'); | |
var caption = document.getElementById('slideShowCaption'); | |
var slideShowWrapper = document.getElementById('slideShowWrapper'); | |
var close = document.getElementById('closeSlideShow'); | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<canvas width="300" height="50" id="canvas"></canvas> | |
<script id="jsbin-javascript"> |
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 { ApplicationErrorCodes } from './application-error-codes' | |
export class ApplicationError extends Error { | |
constructor( | |
public readonly errorCode: string, | |
description?: string | |
) { | |
super(description || errorCode) | |
// Need to override the prototype |