-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update with icons from Seti UI v1.1.2
- Loading branch information
Showing
64 changed files
with
1,304 additions
and
1,288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,128 @@ | ||
module.exports = function (app) { | ||
/* | ||
return { | ||
HIGHLIGHTING: https://github.com/atom/language-javascript/blob/master/grammars/javascript.cson | ||
FILE TYPES: 'js', 'htc', '_js', 'es', 'es6', 'jsm', 'pac', 'pjs', 'xsjs', 'xsjslib' | ||
WRAPPER: source.js | ||
// ALLOW TESLA LOGGING TO BE TURNED OFF IN CONFIG | ||
log: function(what) { | ||
if ( app.config.logging.console === true ) console.log(what); | ||
}, | ||
*/ | ||
|
||
emptyObject: function(obj) { | ||
return !Object.keys(obj).length; | ||
}, | ||
|
||
countObject: function(obj) { | ||
var count = 0; | ||
for( var key in obj ) { | ||
if(obj(key)) { | ||
count++; | ||
} | ||
} | ||
/* | ||
return count; | ||
}, | ||
COMMENTS | ||
-------- | ||
CLASS: punctuation.definition.comment.js | ||
TRIGGERS: js single line or comment blocks | ||
throw: function(num) { | ||
*/ | ||
|
||
var code = { | ||
400 : '400 Bad Request', | ||
401 : '401 Unauthorized', | ||
403 : '403 Forbidden', | ||
404 : '404 Not Found', | ||
405 : '405 Method Not Allowed', | ||
500 : '500 Internal Server Error', | ||
}; | ||
|
||
var err = new Error( code[num] ); | ||
err.code = num; | ||
err.message = code[num]; | ||
err.status = num; | ||
|
||
return err; | ||
/* | ||
} | ||
DOCBLOCK | ||
-------- | ||
CLASS: storage.type.class.jsdoc | ||
}; | ||
TRIGGERS: abstract, access, alias, augments, author, async, attribute, arg, argument, beta, borrows, bubbes, callback, class, classdesc, config, const, constant, constructs, constructor, copyright, chainable, default, defaultvalue, deprecated, desc, description, enum, emits, event, example, exports, external, extends, extension, extensionfor, extension_for, for, file, fileoverview, fires, final, function, global, host, ignore, implements, inheritdoc, inner, instance, interface, kind, lends, license, listens, main, member, memberof, method, mixex, mixin(?:s, ), module, name, namespace, override, overview, param, private, prop, property, protected, readonly, readOnly, requires, required, return, returns, see, since, static, summary, submodule, this, throws, todo, tutorial, type, typedef, var, variation, version, virtual, uses, writeOnce | ||
}; | ||
*/ | ||
|
||
class Bread { | ||
|
||
constructor(slices) { | ||
this.slices = 12; | ||
|
||
if ( slices > this.slices ) { | ||
console.log('not enough bread'); | ||
} else { | ||
console.log(slices); | ||
} | ||
|
||
} | ||
|
||
} | ||
|
||
class Sandwich extends Bread { | ||
|
||
constructor(slices) { | ||
this.bread = super(slices); | ||
this.toppings = []; | ||
} | ||
|
||
toppings( ingredients ) { | ||
ingredients.forEach(function(value, index) { | ||
this.toppings.push( value ); | ||
}); | ||
} | ||
|
||
} | ||
|
||
var Club = new Sandwich(3).toppings(['roast beef', 'turkey']); | ||
|
||
|
||
/* | ||
INTERPOLATED JS | ||
-------- | ||
CLASS: punctuation.definition.comment.js | ||
TRIGGERS: punctuation.section.embedded.js | ||
NOTE: This class doesn't currently seem to actually get applied | ||
*/ | ||
|
||
var myName = 'Slim Shady', | ||
template = 'Hello, my name is ${myName}'; | ||
|
||
/* | ||
FUNCTION PARAMS | ||
-------- | ||
TRIGGER: () CLASS: meta.brace.round.js | ||
TRIGGER: [] CLASS: meta.brace.square.js | ||
TRIGGER: {} CLASS: meta.brace.curly.js | ||
TRIGGER: , CLASS: meta.object.delimiter.js | ||
TRIGGER: = CLASS: keyword.operator.js | ||
TRIGGER: parameters CLASS: variable.parameter.function.js | ||
*/ | ||
|
||
|
||
function testFunction(string,arr,obj) { | ||
// DO SOMETHING | ||
} | ||
|
||
testFunction('one', 'two', [1,2,3], {key: 'value'} ); | ||
|
||
|
||
/* | ||
METHODS | ||
-------- | ||
CLASS: meta.method.js | ||
TRIGGER: break, case, catch, continue, do, else, export, finally, for, function, if, import, package, return, switch, throw, try, while, with | ||
*/ | ||
|
||
import { ham as turkey } from 'mySandwich.js'; | ||
|
||
var isFunction; | ||
|
||
switch ( typeof testFunction ) { | ||
|
||
case 'function': | ||
isFunction = true; | ||
break; | ||
default: | ||
isFunction = false; | ||
|
||
} | ||
|
||
try { | ||
testFunction(); | ||
} catch (e) { | ||
throw 'Whoopsadaisy!'; | ||
} finally { | ||
console.log('i think we\'re done here!'); | ||
} |
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
@import "styles/ui-mixins"; | ||
@import "styles/ui-variables"; | ||
@import "styles/_fonts/seti"; | ||
|
||
@import "styles/icons"; | ||
@import "styles/theme-overrides"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
{ | ||
"name": "seti-icons", | ||
"version": "0.4.5", | ||
"main": "index", | ||
"description": "The awesome icons provided by Seti UI theme.", | ||
"license": "MIT", | ||
"repository": "wyze/atom-seti-icons", | ||
"author": { | ||
"name": "Neil Kistner", | ||
"email": "neil.kistner@gmail.com", | ||
"url": "neilkistner.com" | ||
}, | ||
"main": "index", | ||
"keywords": [ | ||
"seti", | ||
"icons" | ||
], | ||
"scripts": { | ||
"postpublish": "github-changes -o wyze -r seti-icons -a --use-commit-body -m '(MM/DD/YYYY)' --no-merges" | ||
}, | ||
"repository": "https://github.com/wyze/seti-icons", | ||
"license": "MIT", | ||
"engines": { | ||
"atom": ">=0.174.0 <2.0.0" | ||
"atom": ">=1.5.0 <2.0.0" | ||
} | ||
} |
Binary file not shown.
Oops, something went wrong.