Skip to content

Commit

Permalink
Add a paragraph about creating a new question type as plugin.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Nov 6, 2016
1 parent fc49094 commit cd0a01f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ To build library yourself:
```
The first command will copy all required files to 'wwwroot' directory and the last command will run unit tests usign [Karma](https://karma-runner.github.io/0.13/index.html)

##Create your own question type.
Explore the [example](https://github.com/andrewtelnov/surveyjs/tree/master/src/plugins) of adding a new question type into your survey library.

##License

MIT license - [http://www.opensource.org/licenses/mit-license.php](http://www.opensource.org/licenses/mit-license.php)
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var gulp = require('gulp'),

var Server = require("karma").Server;

var libraryVersion = "0.10.0";
var libraryVersion = "0.10.1";

var paths = {
webroot: "./" + project.webroot + "/",
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
##To include the plugin into the bundle

1. Rename the file "./knockout/template/question_date.html_" to "./knockout/template/question_date.html".
2. Uncomment the last lines in file: "$root/src/entries/chunks/model.ts", "$root/src/entries/ko.ts" and "$root/src/entries/react.ts"
2. Uncomment the last line in files: "$root/src/entries/chunks/model.ts", "$root/src/entries/ko.ts" and "$root/src/entries/react.ts"
3. Rebuild the library using the instruction in the README.md file of this repo.

0 comments on commit cd0a01f

Please sign in to comment.