Skip to content
This repository was archived by the owner on Jan 4, 2021. It is now read-only.

Commit b54f1fc

Browse files
author
Francois-Xavier Gentilhomme
committed
v1.0.0 MyScriptJS first release
1 parent 4457c7d commit b54f1fc

File tree

435 files changed

+50567
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

435 files changed

+50567
-1
lines changed

.bowerrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"directory": "bower_components"
3+
}

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
*~
2+
*#
3+
*.xml
4+
*.idea
5+
.tmp
6+
node_modules
7+
bower_components
8+
test_results
9+
dist
10+
_site
11+
.sass-cache

.jshintrc

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"node": true,
3+
"browser": true,
4+
"esnext": true,
5+
"bitwise": true,
6+
"camelcase": true,
7+
"curly": true,
8+
"eqeqeq": true,
9+
"immed": true,
10+
"indent": 4,
11+
"latedef": true,
12+
"newcap": true,
13+
"noarg": true,
14+
"quotmark": "single",
15+
"regexp": true,
16+
"undef": true,
17+
"unused": true,
18+
"strict": true,
19+
"trailing": true,
20+
"smarttabs": true,
21+
"globals": {
22+
"after": false,
23+
"afterEach": false,
24+
"MyScript": false,
25+
"CryptoJS": false,
26+
"Q": false,
27+
"before": false,
28+
"beforeEach": false,
29+
"browser": false,
30+
"describe": false,
31+
"expect": false,
32+
"inject": false,
33+
"it": false,
34+
"spyOn": false
35+
}
36+
}
37+

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: node_js
2+
node_js:
3+
- '0.10'
4+
before_install: npm install -g grunt-cli
5+
install: npm install && bower install
6+
before_script: grunt build && grunt compress
7+
deploy:
8+
- provider: releases
9+
api_key:
10+
secure: LN/1sFRWAdMXHVkogGzrcsG46+jH9EZ0UYf34bqxt0e0f0Pe5Z91UPUJfqdZotMX0/1NsfVQRnqS+Ik8XbiXJdlmkTc3/skU2m6h3er04/L4S1OZchJ8HobrtFri2PuEVeSQ7hU3npBjyrVKVFKMVVVD18iSVF0eLNBstR2gd0M=
11+
file:
12+
- dist/myscript.zip
13+
- dist/myscript.tar.gz
14+
skip_cleanup: true
15+
on:
16+
tags: true
17+
repo: MyScript/MyScriptJS

CONTRIBUTING.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Contributing to MyScriptJS
2+
3+
We welcome pull requests to MyScriptJS. If you'd like to new or larger feature, keep reading.
4+
If you have any questions, or want help solving a problem, feel free to stop by the [#MyScript forum](https://dev.myscript.com/support/forum/).
5+
6+
#### Adding new features
7+
8+
Functions are distributed into several JS files, each taking care of a specific phase of a Cloud based handwriting recognition (ink collection, networking, rendering, etc.). If the feature you want to add is similar to an existing function, add your contribution to that file.
9+
10+
If you create a new object, you should create a new file associated to this new object. File name should be the object name in smallcaps.
11+
12+
## Testing
13+
14+
Local testing can be using the Karma engine through Grunt. First, install all dependencies
15+
`npm install` from the root folder of the project, then run `grunt test-unit`.
16+
17+
#### Testing in other browsers
18+
19+
MyScriptJS supports all major browsers. Unfortunately, it is hard to test new changes in many browsers. If you can, please test your changes in as many browsers as possible.
20+
21+
## Style guide
22+
23+
Code
24+
25+
- 4 spaces for indentation
26+
- 120 character line length
27+
- declare variables in the outermost scope that they are used
28+
29+
In general, try to make your code blend in with the surrounding code.
30+
31+
## CLA
32+
33+
In order to contribute, you must first agree to the **Contributor License Agreement**, found [here](http://goo.gl/forms/YyzZ9VSvYG).
34+
35+
Make sure you have read the article "[Contributing to Open Source on GitHub](https://guides.github.com/activities/contributing-to-open-source/)" to understand the process of contributing.
36+
37+
38+
## License
39+
40+
This library is licensed under the [Apache 2.0](http://opensource.org/licenses/Apache-2.0).
41+

0 commit comments

Comments
 (0)