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
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; |
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
$('#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, |