Remove lb6 file templates (unused)

This commit is contained in:
Henrik Lissner 2017-10-03 02:52:30 +02:00
parent 5a5d2f2d94
commit 1bd096ceb8
No known key found for this signature in database
GPG Key ID: 5F6C0EA160557395
3 changed files with 0 additions and 141 deletions

View File

@ -72,8 +72,6 @@
("/bower\\.json$" "__bower.json" json-mode)
("/gulpfile\\.js$" "__gulpfile.js" js-mode)
("/webpack\\.config\\.js$" "__webpack.config.js" js-mode)
("\\.lbaction/.+/Info.plist$" "__Info.plst" lb6-mode)
("\\.lbaction/.+/\\(default\\|suggestions\\)\\.js$" "__default.js" lb6-mode)
;; Lua
("/main\\.lua$" "__main.lua" love-mode)
("/conf\\.lua$" "__conf.lua" love-mode)

View File

@ -1,99 +0,0 @@
# -*- mode: snippet -*-
# name: Info.plist File Template
# condition: (eq major-mode 'nxml-mode)
# --
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleIdentifier</key>
<string>io.henrik.launchbar.${1:$(replace-regexp-in-string "[^a-zA-Z0-9]" "" yas-text)}</string>
<key>CFBundleName</key>
<string>${1:Action Name}</string>
<!-- <key>CFBundleShortVersionString</key> -->
<!-- <value>1.0</value> -->
<key>CFBundleVersion</key>
<string>${2:1.0.0}</string>
<key>CFBundleIconFile</key>
<string>icon</string>
<key>LBDebugLogEnabled</key>
<false />
<!-- LB stuff -->
<!-- <key>LSMinimumSystemVersion</key> -->
<!-- <string>10.9.1</string> -->
<!-- Per-action keys -->
<!-- <key>LBTextInputTitle</key> -->
<!-- <string>Rate</string> -->
<key>LBScripts</key>
<dict>
<key>LBDefaultScript</key>
<dict>
<key>LBScriptName</key>
<string>default.js</string>
<key>LBRunInBackground</key>
<false />
<key>LBRequiresArgument</key>
<true />
<key>LBAcceptedArgumentTypes</key>
<array>
<string>string</string>
</array>
<key>LBReturnsResult</key>
<true />
<key>LBReturnType</key>
<string>string</string>
</dict>
</dict>
<key>LBDescription</key>
<dict>
<key>LBAuthor</key>
<string>Henrik Lissner</string>
<key>LBWebsite</key>
<string>http://v0.io/launchbar</string>
<key>LBEmail</key>
<string>contact@henrik.io</string>
<key>LBTwitter</key>
<string>@vnought</string>
<key>LBSummary</key>
<string>${3:A short summary of this action}</string>
<key>LBArgument</key>
<string>${4:Describe the input(s) for this action}</string>${5:
<key>LBResult</key>
<string>${6:Describe the result type}</string>
}${7:<key>LBRequirements</key>
<string>${8:The requirements for this action to work}</string>}
<!-- <key>LBChangelog</key> -->
<!-- <string></string> -->
<key>LBUpdateURL</key>
<string>https://github.com/hlissner/lb6-${2:actions}/blob/master/$1.lbaction/Contents/Info.plist</string>
<key>LBDownloadURL</key>
<string>https://dl.v0.io/launchbar/$1.lbaction</string>
</dict>
</dict>
</plist>

View File

@ -1,40 +0,0 @@
# -*- mode: snippet -*-
# name: default.js file template
# condition: (memq major-mode '(js-mode js2-mode))
# --
/*global Lib*/
${1:include("shared/${2:lib.js}");
}// This function is called when the user runs the action without any argument,
// e.g. by selecting it and hitting enter, space or the right arrow key
// (assuming the action does not specify that it requires an argument in its
// Info.plist). run is also called as a fallback if the more specific runWith...
// function for a given argument type (see below) is not implemented.
function run() {
$0
}
// This function is called after text input or when the user sends text to the
// action using Send To.
function runWithString(string) {
}
// This function is called when a URL item is sent to the action. This is also
// the case when a Action URL is called.
function runWithURL(url, details) {
}
// This function is called when the user sends a result item of a previous
// action run to the action using Send To.
function runWithItem(item) {
}
// This function is called after showing a file open dialog or when the user
// sends one or more files or folders to the action using Send To.
function runWithPaths(paths) {
}