Skip to content

Instantly share code, notes, and snippets.

View ejnahc's full-sized avatar
🌴
On vacation

Chanje Park ejnahc

🌴
On vacation
View GitHub Profile
@ejnahc
ejnahc / a.js
Last active February 2, 2016 16:35
friendsController.loadFriends = function($q, $rootScope)
{
var deferred = $q.defer();
FB.api("/me/friends?fields=name,picture.type(square)", function(response)
{
$rootScope.$apply(deferred.resolve(response));
});
return deferred.promise;
$('#content').froalaEditor({
key: '',
placeholderText: '내용을 작성해주세요.',
end_with_newline: true,
indent_inner_html: true,
extra_liners: ['p','h1','h2','h3','h4','h5','h6','blockquote','pre','ul','ol','table','dl'],
brace_style: 'expand',
indent_char: '\t',
indent_size: 4,
wrap_line_length: 0,