NOTA: selecciona la orientación oportuna del papel en las opciones de impresión de tu navegador. Puedes imprimir la página o volver al visor.

Ejemplos de uso del Namespace 'library/'

Nota: Para la ejecución de los ejemplos se usa curl en linea de comandos.

Petición:

 curl http://b5m.gipuzkoa.eus/api/1.0/es/library/openlayers/OpenLayers.js 

Resultado:

/*
  OpenLayers.js -- OpenLayers Map Viewer Library
  Copyright 2005-2008 MetaCarta, Inc., released under the Clear BSD license.
  Please see http://svn.openlayers.org/trunk/openlayers/license.txt
  for the full text of the license.
  Includes compressed code under the following licenses:
  (For uncompressed versions of the code used please see the
  OpenLayers SVN repository: <http://openlayers.org/>)
*/
/* Contains portions of Prototype.js:
 *
 * Prototype JavaScript framework, version 1.4.0
 *  (c) 2005 Sam Stephenson <sam@conio.net>
...

Petición:

 curl http://b5m.gipuzkoa.eus/api/1.0/es/library/openlayers/OpenLayers.js.version 

Resultado:

2.7

Petición:

 curl http://b5m.gipuzkoa.eus/api/1.0/es/library/prototype/prototype.js 

Resultado:

/*  Prototype JavaScript framework, version 1.6.0.3
 *  (c) 2005-2008 Sam Stephenson
 *
 *  Prototype is freely distributable under the terms of an MIT-style license.
 *  For details, see the Prototype web site: http://www.prototypejs.org/
 *
 *--------------------------------------------------------------------------*/
var Prototype = {
...

Petición:

 curl http://b5m.gipuzkoa.eus/api/1.0/es/library/prototype/prototype.js.version 

Resultado:

1.6.0.3

Petición:

 curl http://b5m.gipuzkoa.eus/api/1.0/es/library/scriptaculous/scriptaculous.js 

Resultado:

// --[scriptaculous.js]--------------------------------------------------------------------------------------------------------------------
// script.aculo.us scriptaculous.js v1.8.1, Thu Jan 03 22:07:12 -0500 2008
// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
// 
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
// 
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
// For details, see the script.aculo.us web site: http://script.aculo.us/
var Scriptaculous = {
...

Petición:

 curl http://b5m.gipuzkoa.eus/api/1.0/es/library/scriptaculous/scriptaculous.js.version 

Resultado:

1.8.1