remove internal scripts
This commit is contained in:
4
link.cm
4
link.cm
@@ -3,7 +3,7 @@
|
||||
|
||||
var toml = use('toml')
|
||||
var fd = use('fd')
|
||||
var utf8 = use('utf8')
|
||||
var blob = use('blob')
|
||||
var os = use('os')
|
||||
|
||||
var global_shop_path = os.global_shop_path
|
||||
@@ -81,7 +81,7 @@ Link.save = function(links) {
|
||||
link_cache = links
|
||||
var cfg = { links: links }
|
||||
var path = get_links_path()
|
||||
fd.slurpwrite(path, utf8.encode(toml.encode(cfg)))
|
||||
fd.slurpwrite(path, new blob(toml.encode(cfg)))
|
||||
}
|
||||
|
||||
Link.add = function(canonical, target, shop) {
|
||||
|
||||
Reference in New Issue
Block a user