Skip to content

Commit

Permalink
versioning 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiikurage committed May 28, 2017
1 parent eebb9ea commit 5239993
Show file tree
Hide file tree
Showing 11 changed files with 106 additions and 17 deletions.
18 changes: 18 additions & 0 deletions dist/webdnn.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,25 @@ declare namespace WebDNN {
}
}
}
declare let transformDelegate: (base: string) => string;
/**
* Fetch delegate function.
* Every fetch call in WebDNN is delegated to this function.
* As default, `window.fetch` is set.
* @type {(input:RequestInfo, init?:RequestInit)=>Promise<Response>}
*/
declare let fetchDelegate: (input: RequestInfo, init?: RequestInit) => Promise<Response>;
declare namespace WebDNN {
/**
* Register delegate function for transform url
* @param url url which will be transformed
*/
function transformUrl(url: string): string;
/**
* Register delegate function for transform url
* @param delegate delegate function
*/
function registerTransformDelegate(delegate: (base: string) => string): void;
/**
* Register delegate function for fetch
* @param delegate delegate function
Expand Down
18 changes: 18 additions & 0 deletions dist/webdnn.es5.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,25 @@ declare namespace WebDNN {
}
}
}
declare let transformDelegate: (base: string) => string;
/**
* Fetch delegate function.
* Every fetch call in WebDNN is delegated to this function.
* As default, `window.fetch` is set.
* @type {(input:RequestInfo, init?:RequestInit)=>Promise<Response>}
*/
declare let fetchDelegate: (input: RequestInfo, init?: RequestInit) => Promise<Response>;
declare namespace WebDNN {
/**
* Register delegate function for transform url
* @param url url which will be transformed
*/
function transformUrl(url: string): string;
/**
* Register delegate function for transform url
* @param delegate delegate function
*/
function registerTransformDelegate(delegate: (base: string) => string): void;
/**
* Register delegate function for fetch
* @param delegate delegate function
Expand Down
34 changes: 29 additions & 5 deletions dist/webdnn.es5.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/webdnn.es5.js.map

Large diffs are not rendered by default.

34 changes: 29 additions & 5 deletions dist/webdnn.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/webdnn.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@
# built documents.
#
# The short X.Y version.
version = '0.1'
version = '1.0'
# The full version, including alpha/beta/rc tags.
release = '0.1.0'
release = '1.0.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
5 changes: 5 additions & 0 deletions docs/source/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# MIL WebDNN


This is the [WebDNN](https://mil-tokyo.github.io/webdnn/) documentation.

- [GitHub](https://github.com/mil-tokyo/webdnn)

Contents
--------

Expand Down
2 changes: 1 addition & 1 deletion src/descriptor_runner/tsconfig.es5.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target": "es5",
"strictNullChecks": true,
"outFile": "../../build/descriptor_runner/webdnn.es5.js",
"outFile": "../../dist/webdnn.es5.js",
"lib": [
"es2017",
"dom"
Expand Down
2 changes: 1 addition & 1 deletion src/descriptor_runner/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target": "es2017",
"strictNullChecks": true,
"outFile": "../../build/descriptor_runner/webdnn.js",
"outFile": "../../dist/webdnn.js",
"lib": [
"es2017",
"dom"
Expand Down
2 changes: 1 addition & 1 deletion test/kernel_test.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h1>Kernel Test</h1>
<scirpt src="https://raw.githubusercontent.com/msuperina/es3-promise/master/src/promise.min.js"></scirpt>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="../../lib/inflate.min.js"></script>
<script src="../../build/descriptor_runner/webdnn.js"></script>
<script src="../../dist/webdnn.js"></script>

<script>
var util = (function() {
Expand Down

0 comments on commit 5239993

Please sign in to comment.