Serhii
Serhii
Hello. My name is Sergei. I have an idea about issue#16. My code has few problems. But I want show it to you. I use swagger-ui. And not display's root...
I define some like router in canned.js. But file "swagger.js" is like a plug-in. It is possible to add support for plug-ins. And modify router. Also I can add method...
I try to realize it tomorrow. Another version ``` $ canned --include swagger "{endpoint: 'swagger'}" ``` And JS ``` javascript includes.forEach(function(include){ fs.stat(include.name, function(stat){ if(!stat.isDirectory()) return fasle var extension = require('./extensions/'+include.name+'/main.js')...
Please see 4a82e08 I ass express. Designed as separate module. And add extensions mechanism.
Try ``` $ ./bin/canned ./example/ $ ./bin/canned ./example/ --extensions=swagger,notexist $ ./bin/canned ./example/ --extensions=swagger,notexist --swaggerEndpoint=docs ```
I add "async" variant.
@deniskoronchik, try to remove transition from player. I have the same problem on current project. ``` var styles = [ 'body * {', '-webkit-transition: none !important;', '-webkit-backface-visibility: visible !important;', '-webkit-transform:...
Если вы читали habrahabt статью, то там написано, почему так происходит. Их бракует обработчик оригинальной игры. И я не хочу менять оригинальные файлы. Чтобы не нарушить обратную совместимость. Используйте пока...
You can. If open html from local file.
https://stackoverflow.com/questions/371875/local-file-access-with-javascript - but user should select file by hands https://developer.mozilla.org/en-US/docs/Archive/Misc_top_level/Same-origin_policy_for_file:_URIs