Push dev work to master #2

Merged
sixteenmillimeter merged 416 commits from dev into master 2018-07-19 15:29:02 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit a99f364fb9 - Show all commits

View File

@ -392,6 +392,7 @@
<script> <script>
'use strict' 'use strict'
const web = {}; const web = {};
web._header = new Headers({ 'content-type' : 'application/json' })
web.frame = function () { web.frame = function () {
$.ajax({ $.ajax({
method : 'POST', method : 'POST',
@ -414,6 +415,7 @@
console.log('set to => ' + dir) console.log('set to => ' + dir)
const opts = { const opts = {
method : 'POST', method : 'POST',
headers : web._header,
body : JSON.stringify({ dir : dir }) body : JSON.stringify({ dir : dir })
}; };
console.dir(opts) console.dir(opts)