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
Color Highlighter | |
jQuery | |
Sass | |
AngularJS Snippets | |
Comment-Snippets | |
LESS | |
SideBarEnhancements | |
AngularJS | |
CSS Snippets | |
Package Control |
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
<script> | |
(function(){ | |
'use strict'; | |
/** | |
* Function to inject Muli | |
*/ | |
function addFont(){ | |
var style = document.creatElement('style'); | |
style.rel = 'stylesheet'; |
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
function Car(_name, _year) { | |
this.name = _name; | |
this.year = _year; | |
} | |
Car.prototype.carType = function () { | |
return "My car is a " + this.name + ", this year is " + this.year + "."; | |
}; | |
function CarModel(_model, _name, _year) { |
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
/** | |
* Show or hidden upload degree | |
*/ | |
//Element action | |
var elUploadAction = document.getElementById('uploadDefaultButton'); | |
//check if action is true | |
if(elUploadAction){ |
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
var promise = new Promise(function(resolve){ | |
var foo; | |
resolve(foo=1);//event | |
}); | |
promise.then(function(){ | |
//Execute on done | |
}); |
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
app.factory('searchSchollService', ['$http', '$q', function($http, $q){ | |
var searchSchollService = {}; | |
searchSchollService.get = function(_param){ | |
return $http.get(config.url.school_search(_param)).then(function(result_search){ | |
if(typeof result_search.data === 'object'){ | |
return result_search.data; |
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
[ | |
{ "keys": ["ctrl+1"], "command": "toggle_menu" }, | |
{ "keys": ["ctrl+alt+f"], "command": "fold" }, | |
{ "keys": ["ctrl+alt+u"], "command": "unfold" } | |
] |
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
{ | |
"bold_folder_labels": true, | |
"caret_extra_width": 1, | |
"caret_style": "phase", | |
"close_windows_when_empty": false, | |
"color_scheme": "Packages/User/SublimeLinter/predawn (SL).tmTheme", | |
"copy_with_empty_selection": false, | |
"default_line_ending": "unix", | |
"drag_text": false, | |
"draw_minimap_border": true, |