1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-14 10:16:26 +00:00

add Finder & update main.js & cleanup some old files

This commit is contained in:
Rokt33r
2015-07-28 23:56:50 +09:00
parent d20f005c5d
commit b1be92e6c9
26 changed files with 811 additions and 250 deletions

View File

@@ -6,9 +6,11 @@ var Select = require('react-select')
var request = require('superagent')
var PlanetActions = require('../Actions/PlanetActions')
var apiUrl = require('../../../config').apiUrl
var getOptions = function (input, callback) {
request
.get('http://localhost:8000/tags/search')
.get(apiUrl + 'tags/search')
.query({name: input})
.send()
.end(function (err, res) {
@@ -22,7 +24,7 @@ var getOptions = function (input, callback) {
label: tag.name,
value: tag.name
}
}),
}),
complete: false
})
})