-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from substance/alpha2-release
Alpha 2 release
- Loading branch information
Showing
248 changed files
with
320 additions
and
247 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ dist | |
node_modules | ||
.lock-wscript | ||
.test | ||
.npm |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<html> | ||
<head> | ||
<title>Texture Author</title> | ||
<meta charset="UTF-8"> | ||
<script type="text/javascript" src="../substance/substance.js"></script> | ||
<script type="text/javascript" src="../texture.js"></script> | ||
<script type="text/javascript" src="./data.js"></script> | ||
<style> | ||
/* Texture Component styles */ | ||
@import '../texture.css'; | ||
/* You may want to use your own reset and pagestyle */ | ||
/* @import '../substance/substance-reset.css';*/ | ||
@import '../texture-reset.css'; | ||
@import '../texture-pagestyle.css'; | ||
/* Using url here, so font-awesome does not get bundled. */ | ||
@import url('../font-awesome/css/font-awesome.min.css'); | ||
body { overflow: hidden; } | ||
.sc-author { position: absolute; left: 0px; right: 0px; bottom: 0px; top: 0px; } | ||
</style> | ||
<script> | ||
var t = window.texture; | ||
|
||
/* Author Configuration */ | ||
var configurator = new t.TextureConfigurator() | ||
.import(t.AuthorPackage) | ||
.setXMLStore(t.ExampleXMLStore, XMLFILES) | ||
|
||
if (typeof window !== 'undefined') { | ||
window.onload = function() { | ||
var app = t.Texture.mount({ | ||
configurator: configurator, | ||
documentId: 'elife-15278' | ||
}, document.body) | ||
window.app = app | ||
} | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<html> | ||
<head> | ||
<title>Texture Publisher</title> | ||
<meta charset="UTF-8"> | ||
<script type="text/javascript" src="../substance/substance.js"></script> | ||
<script type="text/javascript" src="../texture.js"></script> | ||
<script type="text/javascript" src="./data.js"></script> | ||
<style> | ||
/* Substance Component styles */ | ||
@import '../substance/substance.css'; | ||
/* Texture Component styles */ | ||
@import '../texture.css'; | ||
/* You may want to use your own reset and pagestyle */ | ||
@import '../substance/substance-reset.css'; | ||
@import '../substance/substance-pagestyle.css'; | ||
/* Using url here, so font-awesome does not get bundled. */ | ||
@import url('../font-awesome/css/font-awesome.min.css'); | ||
body { overflow: hidden; } | ||
.sc-author { position: absolute; left: 0px; right: 0px; bottom: 0px; top: 0px; } | ||
</style> | ||
<script> | ||
var t = texture; | ||
|
||
/* Author Configuration */ | ||
var configurator = new t.TextureConfigurator() | ||
.import(t.PublisherPackage) | ||
.setXMLStore(t.ExampleXMLStore, XMLFILES) | ||
|
||
if (typeof window !== 'undefined') { | ||
window.onload = function() { | ||
var app = t.Texture.mount({ | ||
configurator: configurator, | ||
documentId: 'elife-15278' | ||
}, document.body) | ||
window.app = app | ||
} | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<html> | ||
<head> | ||
<title>Texture Publisher</title> | ||
<meta charset="UTF-8"> | ||
<script type="text/javascript" src="../substance/substance.js"></script> | ||
<script type="text/javascript" src="../texture.js"></script> | ||
<script type="text/javascript" src="./data.js"></script> | ||
<style> | ||
/* Substance Component styles */ | ||
@import '../substance/substance.css'; | ||
/* Texture Component styles */ | ||
@import '../texture.css'; | ||
/* You may want to use your own reset and pagestyle */ | ||
@import '../substance/substance-reset.css'; | ||
@import '../substance/substance-pagestyle.css'; | ||
/* Using url here, so font-awesome does not get bundled. */ | ||
@import url('../font-awesome/css/font-awesome.min.css'); | ||
body { overflow: hidden; } | ||
.sc-author { position: absolute; left: 0px; right: 0px; bottom: 0px; top: 0px; } | ||
</style> | ||
<script> | ||
var t = window.texture; | ||
|
||
/* Configure example */ | ||
var configurator = new t.TextureConfigurator() | ||
.import(t.AuthorPackage) | ||
// enable tagging abilities | ||
.import(t.TaggingPackage) | ||
.setXMLStore(t.ExampleXMLStore, XMLFILES) | ||
|
||
if (typeof window !== 'undefined') { | ||
window.onload = function() { | ||
var app = t.Texture.mount({ | ||
configurator: configurator, | ||
documentId: 'kitchen-sink-author' | ||
}, document.body) | ||
window.app = app | ||
} | ||
} | ||
</script> | ||
</head> | ||
<body> | ||
|
||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// texture | ||
export { default as Texture } from './lib/texture/Texture' | ||
export { default as TextureConfigurator } from './lib/texture/TextureConfigurator' | ||
export { default as ExampleXMLStore } from './lib/texture/ExampleXMLStore' | ||
|
||
// author | ||
export { default as Author } from './lib/author/Author' | ||
export { default as AuthorPackage } from './lib/author/AuthorPackage' | ||
|
||
// publisher | ||
export { default as Publisher } from './lib/publisher/Publisher' | ||
export { default as PublisherPackage } from './lib/publisher/PublisherPackage' | ||
|
||
// tagging | ||
export { default as TaggingPackage } from './lib/tagging/TaggingPackage' | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<h3>Texture Examples</h3> | ||
|
||
<ul> | ||
<li><a href="./examples/author.html">Author</a> - word-like editing interface</li> | ||
<li><a href="./examples/publisher.html">Publisher</a> - QC-interface for publishers</li> | ||
<li><a href="./examples/tagging.html">Tagging</a> - Experiment for post-conversion tagging UI</li> | ||
</ul> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import toDOM from '../../../util/toDOM' | ||
import toDOM from '../../util/toDOM' | ||
|
||
/* | ||
Get all affiliations for a doc | ||
|
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...jats/article-meta/ArticleMetaComponent.js → ...jats/article-meta/ArticleMetaComponent.js
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
2 changes: 1 addition & 1 deletion
2
...jats/article-meta/ArticleMetaConverter.js → ...jats/article-meta/ArticleMetaConverter.js
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
packages/jats/article/ArticleComponent.js → lib/jats/article/ArticleComponent.js
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
2 changes: 1 addition & 1 deletion
2
packages/jats/article/ArticleConverter.js → lib/jats/article/ArticleConverter.js
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
packages/jats/back/BackComponent.js → lib/jats/back/BackComponent.js
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
2 changes: 1 addition & 1 deletion
2
packages/jats/back/BackConverter.js → lib/jats/back/BackConverter.js
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
packages/jats/body/BodyConverter.js → lib/jats/body/BodyConverter.js
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
packages/jats/caption/CaptionConverter.js → lib/jats/caption/CaptionConverter.js
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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ts/contrib-group/ContribGroupComponent.js → ...ts/contrib-group/ContribGroupComponent.js
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
2 changes: 1 addition & 1 deletion
2
...ts/contrib-group/ContribGroupConverter.js → ...ts/contrib-group/ContribGroupConverter.js
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
packages/jats/contrib/contribUtils.js → lib/jats/contrib/contribUtils.js
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.