Skip to content

Commit

Permalink
added manifest.getBehavior
Browse files Browse the repository at this point in the history
  • Loading branch information
edsilv committed Apr 23, 2018
1 parent d298def commit 373cfd7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions dist/client/manifesto.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -3066,6 +3066,7 @@ var Manifesto;
/// <reference types="http-status-codes" />
global.manifesto = global.Manifesto = module.exports = {
AnnotationMotivation: new Manifesto.AnnotationMotivation(),
Behavior: new Manifesto.Behavior(),
IIIFResourceType: new Manifesto.IIIFResourceType(),
ManifestType: new Manifesto.ManifestType(),
MediaType: new Manifesto.MediaType(),
Expand Down
3 changes: 2 additions & 1 deletion dist/client/manifesto.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// manifesto v2.2.16 https://github.com/iiif-commons/manifesto
// manifesto v2.2.17 https://github.com/iiif-commons/manifesto
(function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.manifesto = f()}})(function(){var define,module,exports;return (function(){function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s}return e})()({1:[function(require,module,exports){
(function (global){

Expand Down Expand Up @@ -2994,6 +2994,7 @@ var Manifesto;
/// <reference types="http-status-codes" />
global.manifesto = global.Manifesto = module.exports = {
AnnotationMotivation: new Manifesto.AnnotationMotivation(),
Behavior: new Manifesto.Behavior(),
IIIFResourceType: new Manifesto.IIIFResourceType(),
ManifestType: new Manifesto.ManifestType(),
MediaType: new Manifesto.MediaType(),
Expand Down
2 changes: 1 addition & 1 deletion dist/manifesto.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// manifesto v2.2.16 https://github.com/iiif-commons/manifesto
// manifesto v2.2.17 https://github.com/iiif-commons/manifesto

declare namespace Manifesto {
class StringValue {
Expand Down
3 changes: 2 additions & 1 deletion dist/server/manifesto.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "manifesto.js",
"version": "2.2.16",
"version": "2.2.17",
"description": "IIIF Presentation API utility library for client and server",
"main": "./dist/server/manifesto.js",
"types": "./dist/manifesto.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/Manifesto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
(<any>global).manifesto = (<any>global).Manifesto = module.exports = <IManifesto>{

AnnotationMotivation: new Manifesto.AnnotationMotivation(),
Behavior: new Manifesto.Behavior(),
IIIFResourceType: new Manifesto.IIIFResourceType(),
ManifestType: new Manifesto.ManifestType(),
MediaType: new Manifesto.MediaType(),
Expand Down

0 comments on commit 373cfd7

Please sign in to comment.