rails_macdown 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +4 -0
  5. data/CODE_OF_CONDUCT.md +49 -0
  6. data/Gemfile +4 -0
  7. data/LICENSE.txt +21 -0
  8. data/README.md +55 -0
  9. data/Rakefile +6 -0
  10. data/bin/console +14 -0
  11. data/bin/setup +8 -0
  12. data/lib/rails_macdown.rb +7 -0
  13. data/lib/rails_macdown/version.rb +3 -0
  14. data/rails_macdown.gemspec +33 -0
  15. data/vendor/assets/fonts/FontAwesome.otf +0 -0
  16. data/vendor/assets/fonts/editormd-logo.eot +0 -0
  17. data/vendor/assets/fonts/editormd-logo.svg +11 -0
  18. data/vendor/assets/fonts/editormd-logo.ttf +0 -0
  19. data/vendor/assets/fonts/editormd-logo.woff +0 -0
  20. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  21. data/vendor/assets/fonts/fontawesome-webfont.svg +565 -0
  22. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  23. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  24. data/vendor/assets/fonts/fontawesome-webfont.woff2 +0 -0
  25. data/vendor/assets/images/loading.gif +0 -0
  26. data/vendor/assets/images/loading@2x.gif +0 -0
  27. data/vendor/assets/images/loading@3x.gif +0 -0
  28. data/vendor/assets/images/logos/editormd-favicon-16x16.ico +0 -0
  29. data/vendor/assets/images/logos/editormd-favicon-24x24.ico +0 -0
  30. data/vendor/assets/images/logos/editormd-favicon-32x32.ico +0 -0
  31. data/vendor/assets/images/logos/editormd-favicon-48x48.ico +0 -0
  32. data/vendor/assets/images/logos/editormd-favicon-64x64.ico +0 -0
  33. data/vendor/assets/images/logos/editormd-logo-114x114.png +0 -0
  34. data/vendor/assets/images/logos/editormd-logo-120x120.png +0 -0
  35. data/vendor/assets/images/logos/editormd-logo-144x144.png +0 -0
  36. data/vendor/assets/images/logos/editormd-logo-16x16.png +0 -0
  37. data/vendor/assets/images/logos/editormd-logo-180x180.png +0 -0
  38. data/vendor/assets/images/logos/editormd-logo-240x240.png +0 -0
  39. data/vendor/assets/images/logos/editormd-logo-24x24.png +0 -0
  40. data/vendor/assets/images/logos/editormd-logo-320x320.png +0 -0
  41. data/vendor/assets/images/logos/editormd-logo-32x32.png +0 -0
  42. data/vendor/assets/images/logos/editormd-logo-48x48.png +0 -0
  43. data/vendor/assets/images/logos/editormd-logo-57x57.png +0 -0
  44. data/vendor/assets/images/logos/editormd-logo-64x64.png +0 -0
  45. data/vendor/assets/images/logos/editormd-logo-72x72.png +0 -0
  46. data/vendor/assets/images/logos/editormd-logo-96x96.png +0 -0
  47. data/vendor/assets/images/logos/vi.png +0 -0
  48. data/vendor/assets/javascripts/addons.min.js +4 -0
  49. data/vendor/assets/javascripts/code-block-dialog.js +237 -0
  50. data/vendor/assets/javascripts/codemirror.min.js +54 -0
  51. data/vendor/assets/javascripts/emoji-dialog.js +323 -0
  52. data/vendor/assets/javascripts/emoji.json +28 -0
  53. data/vendor/assets/javascripts/flowchart.min.js +5 -0
  54. data/vendor/assets/javascripts/goto-line-dialog.js +157 -0
  55. data/vendor/assets/javascripts/html-entities-dialog.js +173 -0
  56. data/vendor/assets/javascripts/html-entities.json +936 -0
  57. data/vendor/assets/javascripts/image-dialog.js +221 -0
  58. data/vendor/assets/javascripts/jquery.flowchart.min.js +2 -0
  59. data/vendor/assets/javascripts/link-dialog.js +133 -0
  60. data/vendor/assets/javascripts/marked.min.js +9 -0
  61. data/vendor/assets/javascripts/modes.min.js +10 -0
  62. data/vendor/assets/javascripts/preformatted-text-dialog.js +172 -0
  63. data/vendor/assets/javascripts/prettify.min.js +15 -0
  64. data/vendor/assets/javascripts/rails_macdown.js +4592 -0
  65. data/vendor/assets/javascripts/raphael.min.js +11 -0
  66. data/vendor/assets/javascripts/reference-link-dialog.js +153 -0
  67. data/vendor/assets/javascripts/sequence-diagram.min.js +7 -0
  68. data/vendor/assets/javascripts/table-dialog.js +218 -0
  69. data/vendor/assets/javascripts/underscore.min.js +5 -0
  70. data/vendor/assets/stylesheets/3024-day.css +40 -0
  71. data/vendor/assets/stylesheets/3024-night.css +39 -0
  72. data/vendor/assets/stylesheets/ambiance-mobile.css +5 -0
  73. data/vendor/assets/stylesheets/ambiance.css +75 -0
  74. data/vendor/assets/stylesheets/base16-dark.css +38 -0
  75. data/vendor/assets/stylesheets/base16-light.css +38 -0
  76. data/vendor/assets/stylesheets/blackboard.css +32 -0
  77. data/vendor/assets/stylesheets/cobalt.css +25 -0
  78. data/vendor/assets/stylesheets/codemirror.min.css +3 -0
  79. data/vendor/assets/stylesheets/colorforth.css +33 -0
  80. data/vendor/assets/stylesheets/dialog.css +32 -0
  81. data/vendor/assets/stylesheets/eclipse.css +23 -0
  82. data/vendor/assets/stylesheets/elegant.css +13 -0
  83. data/vendor/assets/stylesheets/erlang-dark.css +34 -0
  84. data/vendor/assets/stylesheets/foldgutter.css +20 -0
  85. data/vendor/assets/stylesheets/lesser-dark.css +47 -0
  86. data/vendor/assets/stylesheets/matchesonscrollbar.css +8 -0
  87. data/vendor/assets/stylesheets/mbo.css +37 -0
  88. data/vendor/assets/stylesheets/mdn-like.css +46 -0
  89. data/vendor/assets/stylesheets/midnight.css +47 -0
  90. data/vendor/assets/stylesheets/monokai.css +33 -0
  91. data/vendor/assets/stylesheets/neat.css +12 -0
  92. data/vendor/assets/stylesheets/neo.css +43 -0
  93. data/vendor/assets/stylesheets/night.css +28 -0
  94. data/vendor/assets/stylesheets/paraiso-dark.css +38 -0
  95. data/vendor/assets/stylesheets/paraiso-light.css +38 -0
  96. data/vendor/assets/stylesheets/pastel-on-dark.css +53 -0
  97. data/vendor/assets/stylesheets/rails_macdown.css +4444 -0
  98. data/vendor/assets/stylesheets/rubyblue.css +25 -0
  99. data/vendor/assets/stylesheets/solarized.css +165 -0
  100. data/vendor/assets/stylesheets/the-matrix.css +30 -0
  101. data/vendor/assets/stylesheets/tomorrow-night-bright.css +35 -0
  102. data/vendor/assets/stylesheets/tomorrow-night-eighties.css +38 -0
  103. data/vendor/assets/stylesheets/twilight.css +32 -0
  104. data/vendor/assets/stylesheets/vibrant-ink.css +34 -0
  105. data/vendor/assets/stylesheets/xq-dark.css +53 -0
  106. data/vendor/assets/stylesheets/xq-light.css +43 -0
  107. data/vendor/assets/stylesheets/zenburn.css +37 -0
  108. metadata +192 -0
@@ -0,0 +1,28 @@
1
+ {
2
+ "github-emoji" : [
3
+ {
4
+ "category" :"People",
5
+ "list" : ["bowtie","smile","laughing","blush","smiley","relaxed","smirk","heart_eyes","kissing_heart","kissing_closed_eyes","flushed","relieved","satisfied","grin","wink","stuck_out_tongue_winking_eye","stuck_out_tongue_closed_eyes","grinning","kissing","kissing_smiling_eyes","stuck_out_tongue","sleeping","worried","frowning","anguished","open_mouth","grimacing","confused","hushed","expressionless","unamused","sweat_smile","sweat","disappointed_relieved","weary","pensive","disappointed","confounded","fearful","cold_sweat","persevere","cry","sob","joy","astonished","scream","neckbeard","tired_face","angry","rage","triumph","sleepy","yum","mask","sunglasses","dizzy_face","imp","smiling_imp","neutral_face","no_mouth","innocent","alien","yellow_heart","blue_heart","purple_heart","heart","green_heart","broken_heart","heartbeat","heartpulse","two_hearts","revolving_hearts","cupid","sparkling_heart","sparkles","star","star2","dizzy","boom","collision","anger","exclamation","question","grey_exclamation","grey_question","zzz","dash","sweat_drops","notes","musical_note","fire","hankey","poop","shit","+1","thumbsup","-1","thumbsdown","ok_hand","punch","facepunch","fist","v","wave","hand","raised_hand","open_hands","point_up","point_down","point_left","point_right","raised_hands","pray","point_up_2","clap","muscle","metal","fu","walking","runner","running","couple","family","two_men_holding_hands","two_women_holding_hands","dancer","dancers","ok_woman","no_good","information_desk_person","raising_hand","bride_with_veil","person_with_pouting_face","person_frowning","bow","couplekiss","couple_with_heart","massage","haircut","nail_care","boy","girl","woman","man","baby","older_woman","older_man","person_with_blond_hair","man_with_gua_pi_mao","man_with_turban","construction_worker","cop","angel","princess","smiley_cat","smile_cat","heart_eyes_cat","kissing_cat","smirk_cat","scream_cat","crying_cat_face","joy_cat","pouting_cat","japanese_ogre","japanese_goblin","see_no_evil","hear_no_evil","speak_no_evil","guardsman","skull","feet","lips","kiss","droplet","ear","eyes","nose","tongue","love_letter","bust_in_silhouette","busts_in_silhouette","speech_balloon","thought_balloon","feelsgood","finnadie","goberserk","godmode","hurtrealbad","rage1","rage2","rage3","rage4","suspect","trollface"]
6
+ },
7
+ {
8
+ "category" :"Nature",
9
+ "list" : ["sunny","umbrella","cloud","snowflake","snowman","zap","cyclone","foggy","ocean","cat","dog","mouse","hamster","rabbit","wolf","frog","tiger","koala","bear","pig","pig_nose","cow","boar","monkey_face","monkey","horse","racehorse","camel","sheep","elephant","panda_face","snake","bird","baby_chick","hatched_chick","hatching_chick","chicken","penguin","turtle","bug","honeybee","ant","beetle","snail","octopus","tropical_fish","fish","whale","whale2","dolphin","cow2","ram","rat","water_buffalo","tiger2","rabbit2","dragon","goat","rooster","dog2","pig2","mouse2","ox","dragon_face","blowfish","crocodile","dromedary_camel","leopard","cat2","poodle","paw_prints","bouquet","cherry_blossom","tulip","four_leaf_clover","rose","sunflower","hibiscus","maple_leaf","leaves","fallen_leaf","herb","mushroom","cactus","palm_tree","evergreen_tree","deciduous_tree","chestnut","seedling","blossom","ear_of_rice","shell","globe_with_meridians","sun_with_face","full_moon_with_face","new_moon_with_face","new_moon","waxing_crescent_moon","first_quarter_moon","waxing_gibbous_moon","full_moon","waning_gibbous_moon","last_quarter_moon","waning_crescent_moon","last_quarter_moon_with_face","first_quarter_moon_with_face","moon","earth_africa","earth_americas","earth_asia","volcano","milky_way","partly_sunny","octocat","squirrel"]
10
+ },
11
+ {
12
+ "category" :"Objects",
13
+ "list" : ["bamboo","gift_heart","dolls","school_satchel","mortar_board","flags","fireworks","sparkler","wind_chime","rice_scene","jack_o_lantern","ghost","santa","christmas_tree","gift","bell","no_bell","tanabata_tree","tada","confetti_ball","balloon","crystal_ball","cd","dvd","floppy_disk","camera","video_camera","movie_camera","computer","tv","iphone","phone","telephone","telephone_receiver","pager","fax","minidisc","vhs","sound","speaker","mute","loudspeaker","mega","hourglass","hourglass_flowing_sand","alarm_clock","watch","radio","satellite","loop","mag","mag_right","unlock","lock","lock_with_ink_pen","closed_lock_with_key","key","bulb","flashlight","high_brightness","low_brightness","electric_plug","battery","calling","email","mailbox","postbox","bath","bathtub","shower","toilet","wrench","nut_and_bolt","hammer","seat","moneybag","yen","dollar","pound","euro","credit_card","money_with_wings","e-mail","inbox_tray","outbox_tray","envelope","incoming_envelope","postal_horn","mailbox_closed","mailbox_with_mail","mailbox_with_no_mail","package","door","smoking","bomb","gun","hocho","pill","syringe","page_facing_up","page_with_curl","bookmark_tabs","bar_chart","chart_with_upwards_trend","chart_with_downwards_trend","scroll","clipboard","calendar","date","card_index","file_folder","open_file_folder","scissors","pushpin","paperclip","black_nib","pencil2","straight_ruler","triangular_ruler","closed_book","green_book","blue_book","orange_book","notebook","notebook_with_decorative_cover","ledger","books","bookmark","name_badge","microscope","telescope","newspaper","football","basketball","soccer","baseball","tennis","8ball","rugby_football","bowling","golf","mountain_bicyclist","bicyclist","horse_racing","snowboarder","swimmer","surfer","ski","spades","hearts","clubs","diamonds","gem","ring","trophy","musical_score","musical_keyboard","violin","space_invader","video_game","black_joker","flower_playing_cards","game_die","dart","mahjong","clapper","memo","pencil","book","art","microphone","headphones","trumpet","saxophone","guitar","shoe","sandal","high_heel","lipstick","boot","shirt","tshirt","necktie","womans_clothes","dress","running_shirt_with_sash","jeans","kimono","bikini","ribbon","tophat","crown","womans_hat","mans_shoe","closed_umbrella","briefcase","handbag","pouch","purse","eyeglasses","fishing_pole_and_fish","coffee","tea","sake","baby_bottle","beer","beers","cocktail","tropical_drink","wine_glass","fork_and_knife","pizza","hamburger","fries","poultry_leg","meat_on_bone","spaghetti","curry","fried_shrimp","bento","sushi","fish_cake","rice_ball","rice_cracker","rice","ramen","stew","oden","dango","egg","bread","doughnut","custard","icecream","ice_cream","shaved_ice","birthday","cake","cookie","chocolate_bar","candy","lollipop","honey_pot","apple","green_apple","tangerine","lemon","cherries","grapes","watermelon","strawberry","peach","melon","banana","pear","pineapple","sweet_potato","eggplant","tomato","corn"]
14
+ },
15
+ {
16
+ "category" :"Places",
17
+ "list" : ["house","house_with_garden","school","office","post_office","hospital","bank","convenience_store","love_hotel","hotel","wedding","church","department_store","european_post_office","city_sunrise","city_sunset","japanese_castle","european_castle","tent","factory","tokyo_tower","japan","mount_fuji","sunrise_over_mountains","sunrise","stars","statue_of_liberty","bridge_at_night","carousel_horse","rainbow","ferris_wheel","fountain","roller_coaster","ship","speedboat","boat","sailboat","rowboat","anchor","rocket","airplane","helicopter","steam_locomotive","tram","mountain_railway","bike","aerial_tramway","suspension_railway","mountain_cableway","tractor","blue_car","oncoming_automobile","car","red_car","taxi","oncoming_taxi","articulated_lorry","bus","oncoming_bus","rotating_light","police_car","oncoming_police_car","fire_engine","ambulance","minibus","truck","train","station","train2","bullettrain_front","bullettrain_side","light_rail","monorail","railway_car","trolleybus","ticket","fuelpump","vertical_traffic_light","traffic_light","warning","construction","beginner","atm","slot_machine","busstop","barber","hotsprings","checkered_flag","crossed_flags","izakaya_lantern","moyai","circus_tent","performing_arts","round_pushpin","triangular_flag_on_post","jp","kr","cn","us","fr","es","it","ru","gb","uk","de"]
18
+ },
19
+ {
20
+ "category" :"Symbols",
21
+ "list" : ["one","two","three","four","five","six","seven","eight","nine","keycap_ten","1234","zero","hash","symbols","arrow_backward","arrow_down","arrow_forward","arrow_left","capital_abcd","abcd","abc","arrow_lower_left","arrow_lower_right","arrow_right","arrow_up","arrow_upper_left","arrow_upper_right","arrow_double_down","arrow_double_up","arrow_down_small","arrow_heading_down","arrow_heading_up","leftwards_arrow_with_hook","arrow_right_hook","left_right_arrow","arrow_up_down","arrow_up_small","arrows_clockwise","arrows_counterclockwise","rewind","fast_forward","information_source","ok","twisted_rightwards_arrows","repeat","repeat_one","new","top","up","cool","free","ng","cinema","koko","signal_strength","u5272","u5408","u55b6","u6307","u6708","u6709","u6e80","u7121","u7533","u7a7a","u7981","sa","restroom","mens","womens","baby_symbol","no_smoking","parking","wheelchair","metro","baggage_claim","accept","wc","potable_water","put_litter_in_its_place","secret","congratulations","m","passport_control","left_luggage","customs","ideograph_advantage","cl","sos","id","no_entry_sign","underage","no_mobile_phones","do_not_litter","non-potable_water","no_bicycles","no_pedestrians","children_crossing","no_entry","eight_spoked_asterisk","sparkle","eight_pointed_black_star","heart_decoration","vs","vibration_mode","mobile_phone_off","chart","currency_exchange","aries","taurus","gemini","cancer","leo","virgo","libra","scorpius","sagittarius","capricorn","aquarius","pisces","ophiuchus","six_pointed_star","negative_squared_cross_mark","a","b","ab","o2","diamond_shape_with_a_dot_inside","recycle","end","back","on","soon","clock1","clock130","clock10","clock1030","clock11","clock1130","clock12","clock1230","clock2","clock230","clock3","clock330","clock4","clock430","clock5","clock530","clock6","clock630","clock7","clock730","clock8","clock830","clock9","clock930","heavy_dollar_sign","copyright","registered","tm","x","heavy_exclamation_mark","bangbang","interrobang","o","heavy_multiplication_x","heavy_plus_sign","heavy_minus_sign","heavy_division_sign","white_flower","100","heavy_check_mark","ballot_box_with_check","radio_button","link","curly_loop","wavy_dash","part_alternation_mark","trident","black_small_square","white_small_square","black_medium_small_square","white_medium_small_square","black_medium_square","white_medium_square","black_large_square","white_large_square","white_check_mark","black_square_button","white_square_button","black_circle","white_circle","red_circle","large_blue_circle","large_blue_diamond","large_orange_diamond","small_blue_diamond","small_orange_diamond","small_red_triangle","small_red_triangle_down","shipit"]
22
+ }
23
+ ],
24
+
25
+ "twemoji" : ["1f004","1f0cf","1f170","1f171","1f17e","1f17f","1f18e","1f191","1f192","1f193","1f194","1f195","1f196","1f197","1f198","1f199","1f19a","1f1e6","1f1e7","1f1e8-1f1f3","1f1e8","1f1e9-1f1ea","1f1e9","1f1ea-1f1f8","1f1ea","1f1eb-1f1f7","1f1eb","1f1ec-1f1e7","1f1ec","1f1ed","1f1ee-1f1f9","1f1ee","1f1ef-1f1f5","1f1ef","1f1f0-1f1f7","1f1f0","1f1f1","1f1f2","1f1f3","1f1f4","1f1f5","1f1f6","1f1f7-1f1fa","1f1f7","1f1f8","1f1f9","1f1fa-1f1f8","1f1fa","1f1fb","1f1fc","1f1fd","1f1fe","1f1ff","1f201","1f202","1f21a","1f22f","1f232","1f233","1f234","1f235","1f236","1f237","1f238","1f239","1f23a","1f250","1f251","1f300","1f301","1f302","1f303","1f304","1f305","1f306","1f307","1f308","1f309","1f30a","1f30b","1f30c","1f30d","1f30e","1f30f","1f310","1f311","1f312","1f313","1f314","1f315","1f316","1f317","1f318","1f319","1f31a","1f31b","1f31c","1f31d","1f31e","1f31f","1f320","1f330","1f331","1f332","1f333","1f334","1f335","1f337","1f338","1f339","1f33a","1f33b","1f33c","1f33d","1f33e","1f33f","1f340","1f341","1f342","1f343","1f344","1f345","1f346","1f347","1f348","1f349","1f34a","1f34b","1f34c","1f34d","1f34e","1f34f","1f350","1f351","1f352","1f353","1f354","1f355","1f356","1f357","1f358","1f359","1f35a","1f35b","1f35c","1f35d","1f35e","1f35f","1f360","1f361","1f362","1f363","1f364","1f365","1f366","1f367","1f368","1f369","1f36a","1f36b","1f36c","1f36d","1f36e","1f36f","1f370","1f371","1f372","1f373","1f374","1f375","1f376","1f377","1f378","1f379","1f37a","1f37b","1f37c","1f380","1f381","1f382","1f383","1f384","1f385","1f386","1f387","1f388","1f389","1f38a","1f38b","1f38c","1f38d","1f38e","1f38f","1f390","1f391","1f392","1f393","1f3a0","1f3a1","1f3a2","1f3a3","1f3a4","1f3a5","1f3a6","1f3a7","1f3a8","1f3a9","1f3aa","1f3ab","1f3ac","1f3ad","1f3ae","1f3af","1f3b0","1f3b1","1f3b2","1f3b3","1f3b4","1f3b5","1f3b6","1f3b7","1f3b8","1f3b9","1f3ba","1f3bb","1f3bc","1f3bd","1f3be","1f3bf","1f3c0","1f3c1","1f3c2","1f3c3","1f3c4","1f3c6","1f3c7","1f3c8","1f3c9","1f3ca","1f3e0","1f3e1","1f3e2","1f3e3","1f3e4","1f3e5","1f3e6","1f3e7","1f3e8","1f3e9","1f3ea","1f3eb","1f3ec","1f3ed","1f3ee","1f3ef","1f3f0","1f400","1f401","1f402","1f403","1f404","1f405","1f406","1f407","1f408","1f409","1f40a","1f40b","1f40c","1f40d","1f40e","1f40f","1f410","1f411","1f412","1f413","1f414","1f415","1f416","1f417","1f418","1f419","1f41a","1f41b","1f41c","1f41d","1f41e","1f41f","1f420","1f421","1f422","1f423","1f424","1f425","1f426","1f427","1f428","1f429","1f42a","1f42b","1f42c","1f42d","1f42e","1f42f","1f430","1f431","1f432","1f433","1f434","1f435","1f436","1f437","1f438","1f439","1f43a","1f43b","1f43c","1f43d","1f43e","1f440","1f442","1f443","1f444","1f445","1f446","1f447","1f448","1f449","1f44a","1f44b","1f44c","1f44d","1f44e","1f44f","1f450","1f451","1f452","1f453","1f454","1f455","1f456","1f457","1f458","1f459","1f45a","1f45b","1f45c","1f45d","1f45e","1f45f","1f460","1f461","1f462","1f463","1f464","1f465","1f466","1f467","1f468","1f469","1f46a","1f46b","1f46c","1f46d","1f46e","1f46f","1f470","1f471","1f472","1f473","1f474","1f475","1f476","1f477","1f478","1f479","1f47a","1f47b","1f47c","1f47d","1f47e","1f47f","1f480","1f481","1f482","1f483","1f484","1f485","1f486","1f487","1f488","1f489","1f48a","1f48b","1f48c","1f48d","1f48e","1f48f","1f490","1f491","1f492","1f493","1f494","1f495","1f496","1f497","1f498","1f499","1f49a","1f49b","1f49c","1f49d","1f49e","1f49f","1f4a0","1f4a1","1f4a2","1f4a3","1f4a4","1f4a5","1f4a6","1f4a7","1f4a8","1f4a9","1f4aa","1f4ab","1f4ac","1f4ad","1f4ae","1f4af","1f4b0","1f4b1","1f4b2","1f4b3","1f4b4","1f4b5","1f4b6","1f4b7","1f4b8","1f4b9","1f4ba","1f4bb","1f4bc","1f4bd","1f4be","1f4bf","1f4c0","1f4c1","1f4c2","1f4c3","1f4c4","1f4c5","1f4c6","1f4c7","1f4c8","1f4c9","1f4ca","1f4cb","1f4cc","1f4cd","1f4ce","1f4cf","1f4d0","1f4d1","1f4d2","1f4d3","1f4d4","1f4d5","1f4d6","1f4d7","1f4d8","1f4d9","1f4da","1f4db","1f4dc","1f4dd","1f4de","1f4df","1f4e0","1f4e1","1f4e2","1f4e3","1f4e4","1f4e5","1f4e6","1f4e7","1f4e8","1f4e9","1f4ea","1f4eb","1f4ec","1f4ed","1f4ee","1f4ef","1f4f0","1f4f1","1f4f2","1f4f3","1f4f4","1f4f5","1f4f6","1f4f7","1f4f9","1f4fa","1f4fb","1f4fc","1f500","1f501","1f502","1f503","1f504","1f505","1f506","1f507","1f508","1f509","1f50a","1f50b","1f50c","1f50d","1f50e","1f50f","1f510","1f511","1f512","1f513","1f514","1f515","1f516","1f517","1f518","1f519","1f51a","1f51b","1f51c","1f51d","1f51e","1f51f","1f520","1f521","1f522","1f523","1f524","1f525","1f526","1f527","1f528","1f529","1f52a","1f52b","1f52c","1f52d","1f52e","1f52f","1f530","1f531","1f532","1f533","1f534","1f535","1f536","1f537","1f538","1f539","1f53a","1f53b","1f53c","1f53d","1f550","1f551","1f552","1f553","1f554","1f555","1f556","1f557","1f558","1f559","1f55a","1f55b","1f55c","1f55d","1f55e","1f55f","1f560","1f561","1f562","1f563","1f564","1f565","1f566","1f567","1f5fb","1f5fc","1f5fd","1f5fe","1f5ff","1f600","1f601","1f602","1f603","1f604","1f605","1f606","1f607","1f608","1f609","1f60a","1f60b","1f60c","1f60d","1f60e","1f60f","1f610","1f611","1f612","1f613","1f614","1f615","1f616","1f617","1f618","1f619","1f61a","1f61b","1f61c","1f61d","1f61e","1f61f","1f620","1f621","1f622","1f623","1f624","1f625","1f626","1f627","1f628","1f629","1f62a","1f62b","1f62c","1f62d","1f62e","1f62f","1f630","1f631","1f632","1f633","1f634","1f635","1f636","1f637","1f638","1f639","1f63a","1f63b","1f63c","1f63d","1f63e","1f63f","1f640","1f645","1f646","1f647","1f648","1f649","1f64a","1f64b","1f64c","1f64d","1f64e","1f64f","1f680","1f681","1f682","1f683","1f684","1f685","1f686","1f687","1f688","1f689","1f68a","1f68b","1f68c","1f68d","1f68e","1f68f","1f690","1f691","1f692","1f693","1f694","1f695","1f696","1f697","1f698","1f699","1f69a","1f69b","1f69c","1f69d","1f69e","1f69f","1f6a0","1f6a1","1f6a2","1f6a3","1f6a4","1f6a5","1f6a6","1f6a7","1f6a8","1f6a9","1f6aa","1f6ab","1f6ac","1f6ad","1f6ae","1f6af","1f6b0","1f6b1","1f6b2","1f6b3","1f6b4","1f6b5","1f6b6","1f6b7","1f6b8","1f6b9","1f6ba","1f6bb","1f6bc","1f6bd","1f6be","1f6bf","1f6c0","1f6c1","1f6c2","1f6c3","1f6c4","1f6c5","203c","2049","2122","2139","2194","2195","2196","2197","2198","2199","21a9","21aa","23-20e3","231a","231b","23e9","23ea","23eb","23ec","23f0","23f3","24c2","25aa","25ab","25b6","25c0","25fb","25fc","25fd","25fe","2600","2601","260e","2611","2614","2615","261d","263a","2648","2649","264a","264b","264c","264d","264e","264f","2650","2651","2652","2653","2660","2663","2665","2666","2668","267b","267f","2693","26a0","26a1","26aa","26ab","26bd","26be","26c4","26c5","26ce","26d4","26ea","26f2","26f3","26f5","26fa","26fd","2702","2705","2708","2709","270a","270b","270c","270f","2712","2714","2716","2728","2733","2734","2744","2747","274c","274e","2753","2754","2755","2757","2764","2795","2796","2797","27a1","27b0","27bf","2934","2935","2b05","2b06","2b07","2b1b","2b1c","2b50","2b55","30-20e3","3030","303d","31-20e3","32-20e3","3297","3299","33-20e3","34-20e3","35-20e3","36-20e3","37-20e3","38-20e3","39-20e3","a9","ae","e50a"],
26
+
27
+ "font-awesome" : ["glass","music","search","envelope-o","heart","star","star-o","user","film","th-large","th","th-list","check","times","search-plus","search-minus","power-off","signal","cog","trash-o","home","file-o","clock-o","road","download","arrow-circle-o-down","arrow-circle-o-up","inbox","play-circle-o","repeat","refresh","list-alt","lock","flag","headphones","volume-off","volume-down","volume-up","qrcode","barcode","tag","tags","book","bookmark","print","camera","font","bold","italic","text-height","text-width","align-left","align-center","align-right","align-justify","list","outdent","indent","video-camera","picture-o","pencil","map-marker","adjust","tint","pencil-square-o","share-square-o","check-square-o","arrows","step-backward","fast-backward","backward","play","pause","stop","forward","fast-forward","step-forward","eject","chevron-left","chevron-right","plus-circle","minus-circle","times-circle","check-circle","question-circle","info-circle","crosshairs","times-circle-o","check-circle-o","ban","arrow-left","arrow-right","arrow-up","arrow-down","share","expand","compress","plus","minus","asterisk","exclamation-circle","gift","leaf","fire","eye","eye-slash","exclamation-triangle","plane","calendar","random","comment","magnet","chevron-up","chevron-down","retweet","shopping-cart","folder","folder-open","arrows-v","arrows-h","bar-chart","twitter-square","facebook-square","camera-retro","key","cogs","comments","thumbs-o-up","thumbs-o-down","star-half","heart-o","sign-out","linkedin-square","thumb-tack","external-link","sign-in","trophy","github-square","upload","lemon-o","phone","square-o","bookmark-o","phone-square","twitter","facebook","github","unlock","credit-card","rss","hdd-o","bullhorn","bell","certificate","hand-o-right","hand-o-left","hand-o-up","hand-o-down","arrow-circle-left","arrow-circle-right","arrow-circle-up","arrow-circle-down","globe","wrench","tasks","filter","briefcase","arrows-alt","users","link","cloud","flask","scissors","files-o","paperclip","floppy-o","square","bars","list-ul","list-ol","strikethrough","underline","table","magic","truck","pinterest","pinterest-square","google-plus-square","google-plus","money","caret-down","caret-up","caret-left","caret-right","columns","sort","sort-desc","sort-asc","envelope","linkedin","undo","gavel","tachometer","comment-o","comments-o","bolt","sitemap","umbrella","clipboard","lightbulb-o","exchange","cloud-download","cloud-upload","user-md","stethoscope","suitcase","bell-o","coffee","cutlery","file-text-o","building-o","hospital-o","ambulance","medkit","fighter-jet","beer","h-square","plus-square","angle-double-left","angle-double-right","angle-double-up","angle-double-down","angle-left","angle-right","angle-up","angle-down","desktop","laptop","tablet","mobile","circle-o","quote-left","quote-right","spinner","circle","reply","github-alt","folder-o","folder-open-o","smile-o","frown-o","meh-o","gamepad","keyboard-o","flag-o","flag-checkered","terminal","code","reply-all","star-half-o","location-arrow","crop","code-fork","chain-broken","question","info","exclamation","superscript","subscript","eraser","puzzle-piece","microphone","microphone-slash","shield","calendar-o","fire-extinguisher","rocket","maxcdn","chevron-circle-left","chevron-circle-right","chevron-circle-up","chevron-circle-down","html5","css3","anchor","unlock-alt","bullseye","ellipsis-h","ellipsis-v","rss-square","play-circle","ticket","minus-square","minus-square-o","level-up","level-down","check-square","pencil-square","share-square","compass","caret-square-o-down","caret-square-o-up","caret-square-o-right","eur","gbp","usd","inr","jpy","rub","krw","btc","file","file-text","sort-alpha-asc","sort-alpha-desc","sort-amount-asc","sort-amount-desc","sort-numeric-asc","sort-numeric-desc","thumbs-up","thumbs-down","youtube-square","youtube","xing","xing-square","youtube-play","dropbox","stack-overflow","instagram","flickr","adn","bitbucket","bitbucket-square","tumblr","tumblr-square","long-arrow-down","long-arrow-up","long-arrow-left","long-arrow-right","apple","windows","android","linux","dribbble","skype","foursquare","trello","female","male","gratipay","sun-o","moon-o","archive","bug","vk","weibo","renren","pagelines","stack-exchange","arrow-circle-o-right","arrow-circle-o-left","caret-square-o-left","dot-circle-o","wheelchair","vimeo-square","try","plus-square-o","space-shuttle","slack","envelope-square","wordpress","openid","university","graduation-cap","yahoo","google","reddit","reddit-square","stumbleupon-circle","stumbleupon","delicious","digg","pied-piper","pied-piper-alt","drupal","joomla","language","fax","building","child","paw","spoon","cube","cubes","behance","behance-square","steam","steam-square","recycle","car","taxi","tree","spotify","deviantart","soundcloud","database","file-pdf-o","file-word-o","file-excel-o","file-powerpoint-o","file-image-o","file-archive-o","file-audio-o","file-video-o","file-code-o","vine","codepen","jsfiddle","life-ring","circle-o-notch","rebel","empire","git-square","git","hacker-news","tencent-weibo","qq","weixin","paper-plane","paper-plane-o","history","circle-thin","header","paragraph","sliders","share-alt","share-alt-square","bomb","futbol-o","tty","binoculars","plug","slideshare","twitch","yelp","newspaper-o","wifi","calculator","paypal","google-wallet","cc-visa","cc-mastercard","cc-discover","cc-amex","cc-paypal","cc-stripe","bell-slash","bell-slash-o","trash","copyright","at","eyedropper","paint-brush","birthday-cake","area-chart","pie-chart","line-chart","lastfm","lastfm-square","toggle-off","toggle-on","bicycle","bus","ioxhost","angellist","cc","ils","meanpath","buysellads","connectdevelop","dashcube","forumbee","leanpub","sellsy","shirtsinbulk","simplybuilt","skyatlas","cart-plus","cart-arrow-down","diamond","ship","user-secret","motorcycle","street-view","heartbeat","venus","mars","mercury","transgender","transgender-alt","venus-double","mars-double","venus-mars","mars-stroke","mars-stroke-v","mars-stroke-h","neuter","facebook-official","pinterest-p","whatsapp","server","user-plus","user-times","bed","viacoin","train","subway","medium","GitHub","bed","buysellads","cart-arrow-down","cart-plus","connectdevelop","dashcube","diamond","facebook-official","forumbee","heartbeat","hotel","leanpub","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","medium","mercury","motorcycle","neuter","pinterest-p","sellsy","server","ship","shirtsinbulk","simplybuilt","skyatlas","street-view","subway","train","transgender","transgender-alt","user-plus","user-secret","user-times","venus","venus-double","venus-mars","viacoin","whatsapp","adjust","anchor","archive","area-chart","arrows","arrows-h","arrows-v","asterisk","at","automobile","ban","bank","bar-chart","bar-chart-o","barcode","bars","bed","beer","bell","bell-o","bell-slash","bell-slash-o","bicycle","binoculars","birthday-cake","bolt","bomb","book","bookmark","bookmark-o","briefcase","bug","building","building-o","bullhorn","bullseye","bus","cab","calculator","calendar","calendar-o","camera","camera-retro","car","caret-square-o-down","caret-square-o-left","caret-square-o-right","caret-square-o-up","cart-arrow-down","cart-plus","cc","certificate","check","check-circle","check-circle-o","check-square","check-square-o","child","circle","circle-o","circle-o-notch","circle-thin","clock-o","close","cloud","cloud-download","cloud-upload","code","code-fork","coffee","cog","cogs","comment","comment-o","comments","comments-o","compass","copyright","credit-card","crop","crosshairs","cube","cubes","cutlery","dashboard","database","desktop","diamond","dot-circle-o","download","edit","ellipsis-h","ellipsis-v","envelope","envelope-o","envelope-square","eraser","exchange","exclamation","exclamation-circle","exclamation-triangle","external-link","external-link-square","eye","eye-slash","eyedropper","fax","female","fighter-jet","file-archive-o","file-audio-o","file-code-o","file-excel-o","file-image-o","file-movie-o","file-pdf-o","file-photo-o","file-picture-o","file-powerpoint-o","file-sound-o","file-video-o","file-word-o","file-zip-o","film","filter","fire","fire-extinguisher","flag","flag-checkered","flag-o","flash","flask","folder","folder-o","folder-open","folder-open-o","frown-o","futbol-o","gamepad","gavel","gear","gears","genderless","gift","glass","globe","graduation-cap","group","hdd-o","headphones","heart","heart-o","heartbeat","history","home","hotel","image","inbox","info","info-circle","institution","key","keyboard-o","language","laptop","leaf","legal","lemon-o","level-down","level-up","life-bouy","life-buoy","life-ring","life-saver","lightbulb-o","line-chart","location-arrow","lock","magic","magnet","mail-forward","mail-reply","mail-reply-all","male","map-marker","meh-o","microphone","microphone-slash","minus","minus-circle","minus-square","minus-square-o","mobile","mobile-phone","money","moon-o","mortar-board","motorcycle","music","navicon","newspaper-o","paint-brush","paper-plane","paper-plane-o","paw","pencil","pencil-square","pencil-square-o","phone","phone-square","photo","picture-o","pie-chart","plane","plug","plus","plus-circle","plus-square","plus-square-o","power-off","print","puzzle-piece","qrcode","question","question-circle","quote-left","quote-right","random","recycle","refresh","remove","reorder","reply","reply-all","retweet","road","rocket","rss","rss-square","search","search-minus","search-plus","send","send-o","server","share","share-alt","share-alt-square","share-square","share-square-o","shield","ship","shopping-cart","sign-in","sign-out","signal","sitemap","sliders","smile-o","soccer-ball-o","sort","sort-alpha-asc","sort-alpha-desc","sort-amount-asc","sort-amount-desc","sort-asc","sort-desc","sort-down","sort-numeric-asc","sort-numeric-desc","sort-up","space-shuttle","spinner","spoon","square","square-o","star","star-half","star-half-empty","star-half-full","star-half-o","star-o","street-view","suitcase","sun-o","support","tablet","tachometer","tag","tags","tasks","taxi","terminal","thumb-tack","thumbs-down","thumbs-o-down","thumbs-o-up","thumbs-up","ticket","times","times-circle","times-circle-o","tint","toggle-down","toggle-left","toggle-off","toggle-on","toggle-right","toggle-up","trash","trash-o","tree","trophy","truck","tty","umbrella","university","unlock","unlock-alt","unsorted","upload","user","user-plus","user-secret","user-times","users","video-camera","volume-down","volume-off","volume-up","warning","wheelchair","wifi","wrench","ambulance","automobile","bicycle","bus","cab","car","fighter-jet","motorcycle","plane","rocket","ship","space-shuttle","subway","taxi","train","truck","wheelchair","circle-thin","genderless","mars","mars-double","mars-stroke","mars-stroke-h","mars-stroke-v","mercury","neuter","transgender","transgender-alt","venus","venus-double","venus-mars","file","file-archive-o","file-audio-o","file-code-o","file-excel-o","file-image-o","file-movie-o","file-o","file-pdf-o","file-photo-o","file-picture-o","file-powerpoint-o","file-sound-o","file-text","file-text-o","file-video-o","file-word-o","file-zip-o","circle-o-notch","cog","gear","refresh","spinner","check-square","check-square-o","circle","circle-o","dot-circle-o","minus-square","minus-square-o","plus-square","plus-square-o","square","square-o","cc-amex","cc-discover","cc-mastercard","cc-paypal","cc-stripe","cc-visa","credit-card","google-wallet","paypal","area-chart","bar-chart","bar-chart-o","line-chart","pie-chart","bitcoin","btc","cny","dollar","eur","euro","gbp","ils","inr","jpy","krw","money","rmb","rouble","rub","ruble","rupee","shekel","sheqel","try","turkish-lira","usd","won","yen","align-center","align-justify","align-left","align-right","bold","chain","chain-broken","clipboard","columns","copy","cut","dedent","eraser","file","file-o","file-text","file-text-o","files-o","floppy-o","font","header","indent","italic","link","list","list-alt","list-ol","list-ul","outdent","paperclip","paragraph","paste","repeat","rotate-left","rotate-right","save","scissors","strikethrough","subscript","superscript","table","text-height","text-width","th","th-large","th-list","underline","undo","unlink","angle-double-down","angle-double-left","angle-double-right","angle-double-up","angle-down","angle-left","angle-right","angle-up","arrow-circle-down","arrow-circle-left","arrow-circle-o-down","arrow-circle-o-left","arrow-circle-o-right","arrow-circle-o-up","arrow-circle-right","arrow-circle-up","arrow-down","arrow-left","arrow-right","arrow-up","arrows","arrows-alt","arrows-h","arrows-v","caret-down","caret-left","caret-right","caret-square-o-down","caret-square-o-left","caret-square-o-right","caret-square-o-up","caret-up","chevron-circle-down","chevron-circle-left","chevron-circle-right","chevron-circle-up","chevron-down","chevron-left","chevron-right","chevron-up","hand-o-down","hand-o-left","hand-o-right","hand-o-up","long-arrow-down","long-arrow-left","long-arrow-right","long-arrow-up","toggle-down","toggle-left","toggle-right","toggle-up","arrows-alt","backward","compress","eject","expand","fast-backward","fast-forward","forward","pause","play","play-circle","play-circle-o","step-backward","step-forward","stop","youtube-play","report an issue with Adblock Plus","adn","android","angellist","apple","behance","behance-square","bitbucket","bitbucket-square","bitcoin","btc","buysellads","cc-amex","cc-discover","cc-mastercard","cc-paypal","cc-stripe","cc-visa","codepen","connectdevelop","css3","dashcube","delicious","deviantart","digg","dribbble","dropbox","drupal","empire","facebook","facebook-f","facebook-official","facebook-square","flickr","forumbee","foursquare","ge","git","git-square","github","github-alt","github-square","gittip","google","google-plus","google-plus-square","google-wallet","gratipay","hacker-news","html5","instagram","ioxhost","joomla","jsfiddle","lastfm","lastfm-square","leanpub","linkedin","linkedin-square","linux","maxcdn","meanpath","medium","openid","pagelines","paypal","pied-piper","pied-piper-alt","pinterest","pinterest-p","pinterest-square","qq","ra","rebel","reddit","reddit-square","renren","sellsy","share-alt","share-alt-square","shirtsinbulk","simplybuilt","skyatlas","skype","slack","slideshare","soundcloud","spotify","stack-exchange","stack-overflow","steam","steam-square","stumbleupon","stumbleupon-circle","tencent-weibo","trello","tumblr","tumblr-square","twitch","twitter","twitter-square","viacoin","vimeo-square","vine","vk","wechat","weibo","weixin","whatsapp","windows","wordpress","xing","xing-square","yahoo","yelp","youtube","youtube-play","youtube-square","ambulance","h-square","heart","heart-o","heartbeat","hospital-o","medkit","plus-square","stethoscope","user-md","wheelchair"]
28
+ }
@@ -0,0 +1,5 @@
1
+ // flowchart, v1.3.4
2
+ // Copyright (c)2014 Adriano Raiano (adrai).
3
+ // Distributed under MIT license
4
+ // http://adrai.github.io/flowchart.js
5
+ !function(){function a(b,c){if(!b||"function"==typeof b)return c;var d={};for(var e in c)d[e]=c[e];for(e in b)b[e]&&(d[e]="object"==typeof d[e]?a(d[e],b[e]):b[e]);return d}function b(a,b){if("function"==typeof Object.create)a.super_=b,a.prototype=Object.create(b.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}});else{a.super_=b;var c=function(){};c.prototype=b.prototype,a.prototype=new c,a.prototype.constructor=a}}function c(a,b,c){var d,e,f="M{0},{1}";for(d=2,e=2*c.length+2;e>d;d+=2)f+=" L{"+d+"},{"+(d+1)+"}";var g=[b.x,b.y];for(d=0,e=c.length;e>d;d++)g.push(c[d].x),g.push(c[d].y);var h=a.paper.path(f,g);h.attr("stroke",a.options["element-color"]),h.attr("stroke-width",a.options["line-width"]);var i=a.options.font,j=a.options["font-family"],k=a.options["font-weight"];return i&&h.attr({font:i}),j&&h.attr({"font-family":j}),k&&h.attr({"font-weight":k}),h}function d(a,b,c,d){var e,f;"[object Array]"!==Object.prototype.toString.call(c)&&(c=[c]);var g="M{0},{1}";for(e=2,f=2*c.length+2;f>e;e+=2)g+=" L{"+e+"},{"+(e+1)+"}";var h=[b.x,b.y];for(e=0,f=c.length;f>e;e++)h.push(c[e].x),h.push(c[e].y);var i=a.paper.path(g,h);i.attr({stroke:a.options["line-color"],"stroke-width":a.options["line-width"],"arrow-end":a.options["arrow-end"]});var j=a.options.font,k=a.options["font-family"],l=a.options["font-weight"];if(j&&i.attr({font:j}),k&&i.attr({"font-family":k}),l&&i.attr({"font-weight":l}),d){var m=!1,n=a.paper.text(0,0,d),o=!1,p=c[0];b.y===p.y&&(o=!0);var q=0,r=0;m?(q=b.x>p.x?b.x-(b.x-p.x)/2:p.x-(p.x-b.x)/2,r=b.y>p.y?b.y-(b.y-p.y)/2:p.y-(p.y-b.y)/2,o?(q-=n.getBBox().width/2,r-=a.options["text-margin"]):(q+=a.options["text-margin"],r-=n.getBBox().height/2)):(q=b.x,r=b.y,o?(q+=a.options["text-margin"]/2,r-=a.options["text-margin"]):(q+=a.options["text-margin"]/2,r+=a.options["text-margin"])),n.attr({"text-anchor":"start","font-size":a.options["font-size"],fill:a.options["font-color"],x:q,y:r}),j&&n.attr({font:j}),k&&n.attr({"font-family":k}),l&&n.attr({"font-weight":l})}return i}function e(a,b,c,d,e,f,g,h){var i,j,k,l,m,n={x:null,y:null,onLine1:!1,onLine2:!1};return i=(h-f)*(c-a)-(g-e)*(d-b),0===i?n:(j=b-f,k=a-e,l=(g-e)*j-(h-f)*k,m=(c-a)*j-(d-b)*k,j=l/i,k=m/i,n.x=a+j*(c-a),n.y=b+j*(d-b),j>0&&1>j&&(n.onLine1=!0),k>0&&1>k&&(n.onLine2=!0),n)}function f(a,b){b=b||{},this.paper=new Raphael(a),this.options=r.defaults(b,q),this.symbols=[],this.lines=[],this.start=null}function g(a,b,c){this.chart=a,this.group=this.chart.paper.set(),this.symbol=c,this.connectedTo=[],this.symbolType=b.symbolType,this.flowstate=b.flowstate||"future",this.next_direction=b.next&&b.direction_next?b.direction_next:void 0,this.text=this.chart.paper.text(0,0,b.text),b.key&&(this.text.node.id=b.key+"t"),this.text.node.setAttribute("class",this.getAttr("class")+"t"),this.text.attr({"text-anchor":"start",x:this.getAttr("text-margin"),fill:this.getAttr("font-color"),"font-size":this.getAttr("font-size")});var d=this.getAttr("font"),e=this.getAttr("font-family"),f=this.getAttr("font-weight");d&&this.text.attr({font:d}),e&&this.text.attr({"font-family":e}),f&&this.text.attr({"font-weight":f}),b.link&&this.text.attr("href",b.link),b.target&&this.text.attr("target",b.target);var g=this.getAttr("maxWidth");if(g){for(var h=b.text.split(" "),i="",j=0,k=h.length;k>j;j++){var l=h[j];this.text.attr("text",i+" "+l),i+=this.text.getBBox().width>g?"\n"+l:" "+l}this.text.attr("text",i.substring(1))}if(this.group.push(this.text),c){var m=this.getAttr("text-margin");c.attr({fill:this.getAttr("fill"),stroke:this.getAttr("element-color"),"stroke-width":this.getAttr("line-width"),width:this.text.getBBox().width+2*m,height:this.text.getBBox().height+2*m}),c.node.setAttribute("class",this.getAttr("class")),b.link&&c.attr("href",b.link),b.target&&c.attr("target",b.target),b.key&&(c.node.id=b.key),this.group.push(c),c.insertBefore(this.text),this.text.attr({y:c.getBBox().height/2}),this.initialize()}}function h(a,b){var c=a.paper.rect(0,0,0,0,20);b=b||{},b.text=b.text||"Start",g.call(this,a,b,c)}function i(a,b){var c=a.paper.rect(0,0,0,0,20);b=b||{},b.text=b.text||"End",g.call(this,a,b,c)}function j(a,b){var c=a.paper.rect(0,0,0,0);b=b||{},g.call(this,a,b,c)}function k(a,b){var c=a.paper.rect(0,0,0,0);b=b||{},g.call(this,a,b,c),c.attr({width:this.text.getBBox().width+4*this.getAttr("text-margin")}),this.text.attr({x:2*this.getAttr("text-margin")});var d=a.paper.rect(0,0,0,0);d.attr({x:this.getAttr("text-margin"),stroke:this.getAttr("element-color"),"stroke-width":this.getAttr("line-width"),width:this.text.getBBox().width+2*this.getAttr("text-margin"),height:this.text.getBBox().height+2*this.getAttr("text-margin"),fill:this.getAttr("fill")}),b.key&&(d.node.id=b.key+"i");var e=this.getAttr("font"),f=this.getAttr("font-family"),h=this.getAttr("font-weight");e&&d.attr({font:e}),f&&d.attr({"font-family":f}),h&&d.attr({"font-weight":h}),b.link&&d.attr("href",b.link),b.target&&d.attr("target",b.target),this.group.push(d),d.insertBefore(this.text),this.initialize()}function l(a,b){b=b||{},g.call(this,a,b),this.textMargin=this.getAttr("text-margin"),this.text.attr({x:3*this.textMargin});var d=this.text.getBBox().width+4*this.textMargin,e=this.text.getBBox().height+2*this.textMargin,f=this.textMargin,h=e/2,i={x:f,y:h},j=[{x:f-this.textMargin,y:e},{x:f-this.textMargin+d,y:e},{x:f-this.textMargin+d+2*this.textMargin,y:0},{x:f-this.textMargin+2*this.textMargin,y:0},{x:f,y:h}],k=c(a,i,j);k.attr({stroke:this.getAttr("element-color"),"stroke-width":this.getAttr("line-width"),fill:this.getAttr("fill")}),b.link&&k.attr("href",b.link),b.target&&k.attr("target",b.target),b.key&&(k.node.id=b.key),k.node.setAttribute("class",this.getAttr("class")),this.text.attr({y:k.getBBox().height/2}),this.group.push(k),k.insertBefore(this.text),this.initialize()}function m(a,b){b=b||{},g.call(this,a,b),this.textMargin=this.getAttr("text-margin"),this.yes_direction="bottom",this.no_direction="right",b.yes&&b.direction_yes&&b.no&&!b.direction_no?"right"===b.direction_yes?(this.no_direction="bottom",this.yes_direction="right"):(this.no_direction="right",this.yes_direction="bottom"):b.yes&&!b.direction_yes&&b.no&&b.direction_no?"right"===b.direction_no?(this.yes_direction="bottom",this.no_direction="right"):(this.yes_direction="right",this.no_direction="bottom"):(this.yes_direction="bottom",this.no_direction="right"),this.yes_direction=this.yes_direction||"bottom",this.no_direction=this.no_direction||"right",this.text.attr({x:2*this.textMargin});var d=this.text.getBBox().width+3*this.textMargin;d+=d/2;var e=this.text.getBBox().height+2*this.textMargin;e+=e/2,e=Math.max(.5*d,e);var f=d/4,h=e/4;this.text.attr({x:f+this.textMargin/2});var i={x:f,y:h},j=[{x:f-d/4,y:h+e/4},{x:f-d/4+d/2,y:h+e/4+e/2},{x:f-d/4+d,y:h+e/4},{x:f-d/4+d/2,y:h+e/4-e/2},{x:f-d/4,y:h+e/4}],k=c(a,i,j);k.attr({stroke:this.getAttr("element-color"),"stroke-width":this.getAttr("line-width"),fill:this.getAttr("fill")}),b.link&&k.attr("href",b.link),b.target&&k.attr("target",b.target),b.key&&(k.node.id=b.key),k.node.setAttribute("class",this.getAttr("class")),this.text.attr({y:k.getBBox().height/2}),this.group.push(k),k.insertBefore(this.text),this.initialize()}function n(a){function b(a){var b=a.indexOf("(")+1,c=a.indexOf(")");return b>=0&&c>=0?d.symbols[a.substring(0,b-1)]:d.symbols[a]}function c(a){var b="next",c=a.indexOf("(")+1,d=a.indexOf(")");return c>=0&&d>=0&&(b=D.substring(c,d),b.indexOf(",")<0&&"yes"!==b&&"no"!==b&&(b="next, "+b)),b}a=a||"",a=a.trim();for(var d={symbols:{},start:null,drawSVG:function(a,b){function c(a){if(g[a.key])return g[a.key];switch(a.symbolType){case"start":g[a.key]=new h(e,a);break;case"end":g[a.key]=new i(e,a);break;case"operation":g[a.key]=new j(e,a);break;case"inputoutput":g[a.key]=new l(e,a);break;case"subroutine":g[a.key]=new k(e,a);break;case"condition":g[a.key]=new m(e,a);break;default:return new Error("Wrong symbol type!")}return g[a.key]}var d=this;this.diagram&&this.diagram.clean();var e=new f(a,b);this.diagram=e;var g={};!function n(a,b,f){var g=c(a);return d.start===a?e.startWith(g):b&&f&&!b.pathOk&&(b instanceof m?(f.yes===a&&b.yes(g),f.no===a&&b.no(g)):b.then(g)),g.pathOk?g:(g instanceof m?(a.yes&&n(a.yes,g,a),a.no&&n(a.no,g,a)):a.next&&n(a.next,g,a),g)}(this.start),e.render()},clean:function(){this.diagram.clean()}},e=[],g=0,n=1,o=a.length;o>n;n++)if("\n"===a[n]&&"\\"!==a[n-1]){var p=a.substring(g,n);g=n+1,e.push(p.replace(/\\\n/g,"\n"))}g<a.length&&e.push(a.substr(g));for(var q=1,r=e.length;r>q;){var s=e[q];s.indexOf(": ")<0&&s.indexOf("(")<0&&s.indexOf(")")<0&&s.indexOf("->")<0&&s.indexOf("=>")<0?(e[q-1]+="\n"+s,e.splice(q,1),r--):q++}for(;e.length>0;){var t=e.splice(0,1)[0];if(t.indexOf("=>")>=0){var u,v=t.split("=>"),w={key:v[0],symbolType:v[1],text:null,link:null,target:null,flowstate:null};if(w.symbolType.indexOf(": ")>=0&&(u=w.symbolType.split(": "),w.symbolType=u[0],w.text=u[1]),w.text&&w.text.indexOf(":>")>=0?(u=w.text.split(":>"),w.text=u[0],w.link=u[1]):w.symbolType.indexOf(":>")>=0&&(u=w.symbolType.split(":>"),w.symbolType=u[0],w.link=u[1]),w.symbolType.indexOf("\n")>=0&&(w.symbolType=w.symbolType.split("\n")[0]),w.link){var x=w.link.indexOf("[")+1,y=w.link.indexOf("]");x>=0&&y>=0&&(w.target=w.link.substring(x,y),w.link=w.link.substring(0,x-1))}if(w.text&&w.text.indexOf("|")>=0){var z=w.text.split("|");w.text=z[0],w.flowstate=z[1].trim()}d.symbols[w.key]=w}else if(t.indexOf("->")>=0)for(var A=t.split("->"),B=0,C=A.length;C>B;B++){var D=A[B],E=b(D),F=c(D),G=null;if(F.indexOf(",")>=0){var H=F.split(",");F=H[0],G=H[1].trim()}if(d.start||(d.start=E),C>B+1){var I=A[B+1];E[F]=b(I),E["direction_"+F]=G,G=null}}}return d}Array.prototype.indexOf||(Array.prototype.indexOf=function(a){"use strict";if(null===this)throw new TypeError;var b=Object(this),c=b.length>>>0;if(0===c)return-1;var d=0;if(arguments.length>0&&(d=Number(arguments[1]),d!=d?d=0:0!==d&&1/0!=d&&d!=-1/0&&(d=(d>0||-1)*Math.floor(Math.abs(d)))),d>=c)return-1;for(var e=d>=0?d:Math.max(c-Math.abs(d),0);c>e;e++)if(e in b&&b[e]===a)return e;return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(a){"use strict";if(null===this)throw new TypeError;var b=Object(this),c=b.length>>>0;if(0===c)return-1;var d=c;arguments.length>1&&(d=Number(arguments[1]),d!=d?d=0:0!==d&&d!=1/0&&d!=-(1/0)&&(d=(d>0||-1)*Math.floor(Math.abs(d))));for(var e=d>=0?Math.min(d,c-1):c-Math.abs(d);e>=0;e--)if(e in b&&b[e]===a)return e;return-1}),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});var o=this,p={};"undefined"!=typeof module&&module.exports?module.exports=p:o.flowchart=o.flowchart||p;var q={x:0,y:0,"line-width":3,"line-length":50,"text-margin":10,"font-size":14,"font-color":"black","line-color":"black","element-color":"black",fill:"white","yes-text":"yes","no-text":"no","arrow-end":"block","class":"flowchart",symbols:{start:{},end:{},condition:{},inputoutput:{},operation:{},subroutine:{}}},r={defaults:a,inherits:b};f.prototype.handle=function(a){this.symbols.indexOf(a)<=-1&&this.symbols.push(a);var b=this;return a instanceof m?(a.yes=function(c){return a.yes_symbol=c,a.no_symbol&&(a.pathOk=!0),b.handle(c)},a.no=function(c){return a.no_symbol=c,a.yes_symbol&&(a.pathOk=!0),b.handle(c)}):a.then=function(c){return a.next=c,a.pathOk=!0,b.handle(c)},a},f.prototype.startWith=function(a){return this.start=a,this.handle(a)},f.prototype.render=function(){var a,b=0,c=0,d=0,e=0,f=0,g=0;for(d=0,e=this.symbols.length;e>d;d++)a=this.symbols[d],a.width>b&&(b=a.width),a.height>c&&(c=a.height);for(d=0,e=this.symbols.length;e>d;d++)a=this.symbols[d],a.shiftX(this.options.x+(b-a.width)/2+this.options["line-width"]),a.shiftY(this.options.y+(c-a.height)/2+this.options["line-width"]);for(this.start.render(),d=0,e=this.symbols.length;e>d;d++)a=this.symbols[d],a.renderLines();for(f=this.maxXFromLine,d=0,e=this.symbols.length;e>d;d++){a=this.symbols[d];var h=a.getX()+a.width,i=a.getY()+a.height;h>f&&(f=h),i>g&&(g=i)}this.paper.setSize(f+this.options["line-width"],g+this.options["line-width"])},f.prototype.clean=function(){if(this.paper){var a=this.paper.canvas;a.parentNode.removeChild(a)}},g.prototype.getAttr=function(a){if(!this.chart)return void 0;var b,c=this.chart.options?this.chart.options[a]:void 0,d=this.chart.options.symbols?this.chart.options.symbols[this.symbolType][a]:void 0;return this.chart.options.flowstate&&this.chart.options.flowstate[this.flowstate]&&(b=this.chart.options.flowstate[this.flowstate][a]),b||d||c},g.prototype.initialize=function(){this.group.transform("t"+this.getAttr("line-width")+","+this.getAttr("line-width")),this.width=this.group.getBBox().width,this.height=this.group.getBBox().height},g.prototype.getCenter=function(){return{x:this.getX()+this.width/2,y:this.getY()+this.height/2}},g.prototype.getX=function(){return this.group.getBBox().x},g.prototype.getY=function(){return this.group.getBBox().y},g.prototype.shiftX=function(a){this.group.transform("t"+(this.getX()+a)+","+this.getY())},g.prototype.setX=function(a){this.group.transform("t"+a+","+this.getY())},g.prototype.shiftY=function(a){this.group.transform("t"+this.getX()+","+(this.getY()+a))},g.prototype.setY=function(a){this.group.transform("t"+this.getX()+","+a)},g.prototype.getTop=function(){var a=this.getY(),b=this.getX()+this.width/2;return{x:b,y:a}},g.prototype.getBottom=function(){var a=this.getY()+this.height,b=this.getX()+this.width/2;return{x:b,y:a}},g.prototype.getLeft=function(){var a=this.getY()+this.group.getBBox().height/2,b=this.getX();return{x:b,y:a}},g.prototype.getRight=function(){var a=this.getY()+this.group.getBBox().height/2,b=this.getX()+this.group.getBBox().width;return{x:b,y:a}},g.prototype.render=function(){if(this.next){var a=this.getAttr("line-length");if("right"===this.next_direction){var b=this.getRight();if(this.next.getLeft(),!this.next.isPositioned){this.next.setY(b.y-this.next.height/2),this.next.shiftX(this.group.getBBox().x+this.width+a);var c=this;!function e(){for(var b,d=!1,f=0,g=c.chart.symbols.length;g>f;f++){b=c.chart.symbols[f];var h=Math.abs(b.getCenter().x-c.next.getCenter().x);if(b.getCenter().y>c.next.getCenter().y&&h<=c.next.width/2){d=!0;break}}d&&(c.next.setX(b.getX()+b.width+a),e())}(),this.next.isPositioned=!0,this.next.render()}}else{var d=this.getBottom();this.next.getTop(),this.next.isPositioned||(this.next.shiftY(this.getY()+this.height+a),this.next.setX(d.x-this.next.width/2),this.next.isPositioned=!0,this.next.render())}}},g.prototype.renderLines=function(){this.next&&(this.next_direction?this.drawLineTo(this.next,"",this.next_direction):this.drawLineTo(this.next))},g.prototype.drawLineTo=function(a,b,c){this.connectedTo.indexOf(a)<0&&this.connectedTo.push(a);var f,g=this.getCenter().x,h=this.getCenter().y,i=(this.getTop(),this.getRight()),j=this.getBottom(),k=this.getLeft(),l=a.getCenter().x,m=a.getCenter().y,n=a.getTop(),o=a.getRight(),p=(a.getBottom(),a.getLeft()),q=g===l,r=h===m,s=m>h,t=h>m,u=g>l,v=l>g,w=0,x=this.getAttr("line-length"),y=this.getAttr("line-width");if(c&&"bottom"!==c||!q||!s)if(c&&"right"!==c||!r||!v)if(c&&"left"!==c||!r||!u)if(c&&"right"!==c||!q||!t)if(c&&"right"!==c||!q||!s)if(c&&"bottom"!==c||!u)if(c&&"bottom"!==c||!v)if(c&&"right"===c&&u)f=d(this.chart,i,[{x:i.x+x/2,y:i.y},{x:i.x+x/2,y:n.y-x/2},{x:n.x,y:n.y-x/2},{x:n.x,y:n.y}],b),this.rightStart=!0,a.topEnd=!0,w=i.x+x/2;else if(c&&"right"===c&&v)f=d(this.chart,i,[{x:n.x,y:i.y},{x:n.x,y:n.y}],b),this.rightStart=!0,a.topEnd=!0,w=i.x+x/2;else if(c&&"bottom"===c&&q&&t)f=d(this.chart,j,[{x:j.x,y:j.y+x/2},{x:i.x+x/2,y:j.y+x/2},{x:i.x+x/2,y:n.y-x/2},{x:n.x,y:n.y-x/2},{x:n.x,y:n.y}],b),this.bottomStart=!0,a.topEnd=!0,w=j.x+x/2;else if("left"===c&&q&&t){var z=k.x-x/2;p.x<k.x&&(z=p.x-x/2),f=d(this.chart,k,[{x:z,y:k.y},{x:z,y:n.y-x/2},{x:n.x,y:n.y-x/2},{x:n.x,y:n.y}],b),this.leftStart=!0,a.topEnd=!0,w=k.x}else"left"===c&&(f=d(this.chart,k,[{x:n.x+(k.x-n.x)/2,y:k.y},{x:n.x+(k.x-n.x)/2,y:n.y-x/2},{x:n.x,y:n.y-x/2},{x:n.x,y:n.y}],b),this.leftStart=!0,a.topEnd=!0,w=k.x);else f=d(this.chart,j,[{x:j.x,y:j.y+x/2},{x:j.x+(j.x-n.x)/2,y:j.y+x/2},{x:j.x+(j.x-n.x)/2,y:n.y-x/2},{x:n.x,y:n.y-x/2},{x:n.x,y:n.y}],b),this.bottomStart=!0,a.topEnd=!0,w=j.x+(j.x-n.x)/2;else f=this.leftEnd&&t?d(this.chart,j,[{x:j.x,y:j.y+x/2},{x:j.x+(j.x-n.x)/2,y:j.y+x/2},{x:j.x+(j.x-n.x)/2,y:n.y-x/2},{x:n.x,y:n.y-x/2},{x:n.x,y:n.y}],b):d(this.chart,j,[{x:j.x,y:n.y-x/2},{x:n.x,y:n.y-x/2},{x:n.x,y:n.y}],b),this.bottomStart=!0,a.topEnd=!0,w=j.x+(j.x-n.x)/2;else f=d(this.chart,i,[{x:i.x+x/2,y:i.y},{x:i.x+x/2,y:n.y-x/2},{x:n.x,y:n.y-x/2},{x:n.x,y:n.y}],b),this.rightStart=!0,a.topEnd=!0,w=i.x+x/2;else f=d(this.chart,i,[{x:i.x+x/2,y:i.y},{x:i.x+x/2,y:n.y-x/2},{x:n.x,y:n.y-x/2},{x:n.x,y:n.y}],b),this.rightStart=!0,a.topEnd=!0,w=i.x+x/2;else f=d(this.chart,k,o,b),this.leftStart=!0,a.rightEnd=!0,w=o.x;else f=d(this.chart,i,p,b),this.rightStart=!0,a.leftEnd=!0,w=p.x;else f=d(this.chart,j,n,b),this.bottomStart=!0,a.topEnd=!0,w=j.x;if(f){for(var A=0,B=this.chart.lines.length;B>A;A++)for(var C,D=this.chart.lines[A],E=D.attr("path"),F=f.attr("path"),G=0,H=E.length-1;H>G;G++){var I=[];I.push(["M",E[G][1],E[G][2]]),I.push(["L",E[G+1][1],E[G+1][2]]);for(var J=I[0][1],K=I[0][2],L=I[1][1],M=I[1][2],N=0,O=F.length-1;O>N;N++){var P=[];P.push(["M",F[N][1],F[N][2]]),P.push(["L",F[N+1][1],F[N+1][2]]);var Q=P[0][1],R=P[0][2],S=P[1][1],T=P[1][2],U=e(J,K,L,M,Q,R,S,T);if(U.onLine1&&U.onLine2){var V;R===T?Q>S?(V=["L",U.x+2*y,R],F.splice(N+1,0,V),V=["C",U.x+2*y,R,U.x,R-4*y,U.x-2*y,R],F.splice(N+2,0,V),f.attr("path",F)):(V=["L",U.x-2*y,R],F.splice(N+1,0,V),V=["C",U.x-2*y,R,U.x,R-4*y,U.x+2*y,R],F.splice(N+2,0,V),f.attr("path",F)):R>T?(V=["L",Q,U.y+2*y],F.splice(N+1,0,V),V=["C",Q,U.y+2*y,Q+4*y,U.y,Q,U.y-2*y],F.splice(N+2,0,V),f.attr("path",F)):(V=["L",Q,U.y-2*y],F.splice(N+1,0,V),V=["C",Q,U.y-2*y,Q+4*y,U.y,Q,U.y+2*y],F.splice(N+2,0,V),f.attr("path",F)),N+=2,C+=2}}}this.chart.lines.push(f)}(!this.chart.maxXFromLine||this.chart.maxXFromLine&&w>this.chart.maxXFromLine)&&(this.chart.maxXFromLine=w)},r.inherits(h,g),r.inherits(i,g),r.inherits(j,g),r.inherits(k,g),r.inherits(l,g),l.prototype.getLeft=function(){var a=this.getY()+this.group.getBBox().height/2,b=this.getX()+this.textMargin;return{x:b,y:a}},l.prototype.getRight=function(){var a=this.getY()+this.group.getBBox().height/2,b=this.getX()+this.group.getBBox().width-this.textMargin;return{x:b,y:a}},r.inherits(m,g),m.prototype.render=function(){this.yes_direction&&(this[this.yes_direction+"_symbol"]=this.yes_symbol),this.no_direction&&(this[this.no_direction+"_symbol"]=this.no_symbol);var a=this.getAttr("line-length");if(this.bottom_symbol){var b=this.getBottom();this.bottom_symbol.getTop(),this.bottom_symbol.isPositioned||(this.bottom_symbol.shiftY(this.getY()+this.height+a),this.bottom_symbol.setX(b.x-this.bottom_symbol.width/2),this.bottom_symbol.isPositioned=!0,this.bottom_symbol.render())}if(this.right_symbol){var c=this.getRight();if(this.right_symbol.getLeft(),!this.right_symbol.isPositioned){this.right_symbol.setY(c.y-this.right_symbol.height/2),this.right_symbol.shiftX(this.group.getBBox().x+this.width+a);var d=this;!function e(){for(var b,c=!1,f=0,g=d.chart.symbols.length;g>f;f++){b=d.chart.symbols[f];var h=Math.abs(b.getCenter().x-d.right_symbol.getCenter().x);if(b.getCenter().y>d.right_symbol.getCenter().y&&h<=d.right_symbol.width/2){c=!0;break}}c&&(d.right_symbol.setX(b.getX()+b.width+a),e())}(),this.right_symbol.isPositioned=!0,this.right_symbol.render()}}},m.prototype.renderLines=function(){this.yes_symbol&&this.drawLineTo(this.yes_symbol,this.getAttr("yes-text"),this.yes_direction),this.no_symbol&&this.drawLineTo(this.no_symbol,this.getAttr("no-text"),this.no_direction)},p.parse=n}();
@@ -0,0 +1,157 @@
1
+ /*!
2
+ * Goto line dialog plugin for Editor.md
3
+ *
4
+ * @file goto-line-dialog.js
5
+ * @author pandao
6
+ * @version 1.2.1
7
+ * @updateTime 2015-06-09
8
+ * {@link https://github.com/pandao/editor.md}
9
+ * @license MIT
10
+ */
11
+
12
+ (function() {
13
+
14
+ var factory = function (exports) {
15
+
16
+ var $ = jQuery;
17
+ var pluginName = "goto-line-dialog";
18
+
19
+ var langs = {
20
+ "zh-cn" : {
21
+ toolbar : {
22
+ "goto-line" : "跳转到行"
23
+ },
24
+ dialog : {
25
+ "goto-line" : {
26
+ title : "跳转到行",
27
+ label : "请输入行号",
28
+ error : "错误:"
29
+ }
30
+ }
31
+ },
32
+ "zh-tw" : {
33
+ toolbar : {
34
+ "goto-line" : "跳轉到行"
35
+ },
36
+ dialog : {
37
+ "goto-line" : {
38
+ title : "跳轉到行",
39
+ label : "請輸入行號",
40
+ error : "錯誤:"
41
+ }
42
+ }
43
+ },
44
+ "en" : {
45
+ toolbar : {
46
+ "goto-line" : "Goto line"
47
+ },
48
+ dialog : {
49
+ "goto-line" : {
50
+ title : "Goto line",
51
+ label : "Enter a line number, range ",
52
+ error : "Error: "
53
+ }
54
+ }
55
+ }
56
+ };
57
+
58
+ exports.fn.gotoLineDialog = function() {
59
+ var _this = this;
60
+ var cm = this.cm;
61
+ var editor = this.editor;
62
+ var settings = this.settings;
63
+ var path = settings.pluginPath + pluginName +"/";
64
+ var classPrefix = this.classPrefix;
65
+ var dialogName = classPrefix + pluginName, dialog;
66
+
67
+ $.extend(true, this.lang, langs[this.lang.name]);
68
+ this.setToolbar();
69
+
70
+ var lang = this.lang;
71
+ var dialogLang = lang.dialog["goto-line"];
72
+ var lineCount = cm.lineCount();
73
+
74
+ dialogLang.error += dialogLang.label + " 1-" + lineCount;
75
+
76
+ if (editor.find("." + dialogName).length < 1)
77
+ {
78
+ var dialogContent = [
79
+ "<div class=\"editormd-form\" style=\"padding: 10px 0;\">",
80
+ "<p style=\"margin: 0;\">" + dialogLang.label + " 1-" + lineCount +"&nbsp;&nbsp;&nbsp;<input type=\"number\" class=\"number-input\" style=\"width: 60px;\" value=\"1\" max=\"" + lineCount + "\" min=\"1\" data-line-number /></p>",
81
+ "</div>"
82
+ ].join("\n");
83
+
84
+ dialog = this.createDialog({
85
+ name : dialogName,
86
+ title : dialogLang.title,
87
+ width : 400,
88
+ height : 180,
89
+ mask : settings.dialogShowMask,
90
+ drag : settings.dialogDraggable,
91
+ content : dialogContent,
92
+ lockScreen : settings.dialogLockScreen,
93
+ maskStyle : {
94
+ opacity : settings.dialogMaskOpacity,
95
+ backgroundColor : settings.dialogMaskBgColor
96
+ },
97
+ buttons : {
98
+ enter : [lang.buttons.enter, function() {
99
+ var line = parseInt(this.find("[data-line-number]").val());
100
+
101
+ if (line < 1 || line > lineCount) {
102
+ alert(dialogLang.error);
103
+
104
+ return false;
105
+ }
106
+
107
+ _this.gotoLine(line);
108
+
109
+ this.hide().lockScreen(false).hideMask();
110
+
111
+ return false;
112
+ }],
113
+
114
+ cancel : [lang.buttons.cancel, function() {
115
+ this.hide().lockScreen(false).hideMask();
116
+
117
+ return false;
118
+ }]
119
+ }
120
+ });
121
+ }
122
+
123
+ dialog = editor.find("." + dialogName);
124
+
125
+ this.dialogShowMask(dialog);
126
+ this.dialogLockScreen();
127
+ dialog.show();
128
+ };
129
+
130
+ };
131
+
132
+ // CommonJS/Node.js
133
+ if (typeof require === "function" && typeof exports === "object" && typeof module === "object")
134
+ {
135
+ module.exports = factory;
136
+ }
137
+ else if (typeof define === "function") // AMD/CMD/Sea.js
138
+ {
139
+ if (define.amd) { // for Require.js
140
+
141
+ define(["editormd"], function(editormd) {
142
+ factory(editormd);
143
+ });
144
+
145
+ } else { // for Sea.js
146
+ define(function(require) {
147
+ var editormd = require("./../../editormd");
148
+ factory(editormd);
149
+ });
150
+ }
151
+ }
152
+ else
153
+ {
154
+ factory(window.editormd);
155
+ }
156
+
157
+ })();
@@ -0,0 +1,173 @@
1
+ /*!
2
+ * HTML entities dialog plugin for Editor.md
3
+ *
4
+ * @file html-entities-dialog.js
5
+ * @author pandao
6
+ * @version 1.2.0
7
+ * @updateTime 2015-03-08
8
+ * {@link https://github.com/pandao/editor.md}
9
+ * @license MIT
10
+ */
11
+
12
+ (function() {
13
+
14
+ var factory = function (exports) {
15
+
16
+ var $ = jQuery;
17
+ var pluginName = "html-entities-dialog";
18
+ var selecteds = [];
19
+ var entitiesData = [];
20
+
21
+ exports.fn.htmlEntitiesDialog = function() {
22
+ var _this = this;
23
+ var cm = this.cm;
24
+ var lang = _this.lang;
25
+ var settings = _this.settings;
26
+ var path = settings.pluginPath + "/";
27
+ var editor = this.editor;
28
+ var cursor = cm.getCursor();
29
+ var selection = cm.getSelection();
30
+ var classPrefix = _this.classPrefix;
31
+
32
+ var dialogName = classPrefix + "dialog-" + pluginName, dialog;
33
+ var dialogLang = lang.dialog.htmlEntities;
34
+
35
+ var dialogContent = [
36
+ '<div class="' + classPrefix + 'html-entities-box" style=\"width: 760px;height: 334px;margin-bottom: 8px;overflow: hidden;overflow-y: auto;\">',
37
+ '<div class="' + classPrefix + 'grid-table">',
38
+ '</div>',
39
+ '</div>',
40
+ ].join("\r\n");
41
+
42
+ cm.focus();
43
+
44
+ if (editor.find("." + dialogName).length > 0)
45
+ {
46
+ dialog = editor.find("." + dialogName);
47
+
48
+ selecteds = [];
49
+ dialog.find("a").removeClass("selected");
50
+
51
+ this.dialogShowMask(dialog);
52
+ this.dialogLockScreen();
53
+ dialog.show();
54
+ }
55
+ else
56
+ {
57
+ dialog = this.createDialog({
58
+ name : dialogName,
59
+ title : dialogLang.title,
60
+ width : 800,
61
+ height : 475,
62
+ mask : settings.dialogShowMask,
63
+ drag : settings.dialogDraggable,
64
+ content : dialogContent,
65
+ lockScreen : settings.dialogLockScreen,
66
+ maskStyle : {
67
+ opacity : settings.dialogMaskOpacity,
68
+ backgroundColor : settings.dialogMaskBgColor
69
+ },
70
+ buttons : {
71
+ enter : [lang.buttons.enter, function() {
72
+ cm.replaceSelection(selecteds.join(" "));
73
+ this.hide().lockScreen(false).hideMask();
74
+
75
+ return false;
76
+ }],
77
+ cancel : [lang.buttons.cancel, function() {
78
+ this.hide().lockScreen(false).hideMask();
79
+
80
+ return false;
81
+ }]
82
+ }
83
+ });
84
+ }
85
+
86
+ var table = dialog.find("." + classPrefix + "grid-table");
87
+
88
+ var drawTable = function() {
89
+
90
+ if (entitiesData.length < 1) return ;
91
+
92
+ var rowNumber = 20;
93
+ var pageTotal = Math.ceil(entitiesData.length / rowNumber);
94
+
95
+ table.html("");
96
+
97
+ for (var i = 0; i < pageTotal; i++)
98
+ {
99
+ var row = "<div class=\"" + classPrefix + "grid-table-row\">";
100
+
101
+ for (var x = 0; x < rowNumber; x++)
102
+ {
103
+ var entity = entitiesData[(i * rowNumber) + x];
104
+
105
+ if (typeof entity !== "undefined")
106
+ {
107
+ var name = entity.name.replace("&amp;", "&");
108
+
109
+ row += "<a href=\"javascript:;\" value=\"" + entity.name + "\" title=\"" + name + "\" class=\"" + classPrefix + "html-entity-btn\">" + name + "</a>";
110
+ }
111
+ }
112
+
113
+ row += "</div>";
114
+
115
+ table.append(row);
116
+ }
117
+
118
+ dialog.find("." + classPrefix + "html-entity-btn").bind(exports.mouseOrTouch("click", "touchend"), function() {
119
+ $(this).toggleClass("selected");
120
+
121
+ if ($(this).hasClass("selected"))
122
+ {
123
+ selecteds.push($(this).attr("value"));
124
+ }
125
+ });
126
+ };
127
+
128
+ if (entitiesData.length < 1)
129
+ {
130
+ if (typeof (dialog.loading) == "function") dialog.loading(true);
131
+
132
+ $.getJSON(path + pluginName.replace("-dialog", "") + ".json", function(json) {
133
+
134
+ if (typeof (dialog.loading) == "function") dialog.loading(false);
135
+
136
+ entitiesData = json;
137
+ drawTable();
138
+ });
139
+ }
140
+ else
141
+ {
142
+ drawTable();
143
+ }
144
+ };
145
+
146
+ };
147
+
148
+ // CommonJS/Node.js
149
+ if (typeof require === "function" && typeof exports === "object" && typeof module === "object")
150
+ {
151
+ module.exports = factory;
152
+ }
153
+ else if (typeof define === "function") // AMD/CMD/Sea.js
154
+ {
155
+ if (define.amd) { // for Require.js
156
+
157
+ define(["editormd"], function(editormd) {
158
+ factory(editormd);
159
+ });
160
+
161
+ } else { // for Sea.js
162
+ define(function(require) {
163
+ var editormd = require("./../../editormd");
164
+ factory(editormd);
165
+ });
166
+ }
167
+ }
168
+ else
169
+ {
170
+ factory(window.editormd);
171
+ }
172
+
173
+ })();
@@ -0,0 +1,936 @@
1
+ [
2
+ {
3
+ "name" : "&amp;#64;",
4
+ "description":"at symbol"
5
+ },
6
+ {
7
+ "name":"&amp;copy;",
8
+ "description":"copyright symbol"
9
+ },
10
+ {
11
+ "name":"&amp;reg;",
12
+ "description":"registered symbol"
13
+ },
14
+ {
15
+ "name":"&amp;trade;",
16
+ "description":"trademark symbol"
17
+ },
18
+ {
19
+ "name":"&amp;hearts;",
20
+ "description":"heart"
21
+ },
22
+ {
23
+ "name":"&amp;nbsp;",
24
+ "description":"Inserts a non-breaking blank space"
25
+ },
26
+ {
27
+ "name":"&amp;amp;",
28
+ "description":"Ampersand"
29
+ },
30
+ {
31
+ "name":"&amp;#36;",
32
+ "description":"dollar symbol"
33
+ },
34
+ {
35
+ "name":"&amp;cent;",
36
+ "description":"Cent symbol"
37
+ },
38
+ {
39
+ "name":"&amp;pound;",
40
+ "description":"Pound"
41
+ },
42
+ {
43
+ "name":"&amp;yen;",
44
+ "description":"Yen"
45
+ },
46
+ {
47
+ "name":"&amp;euro;",
48
+ "description":"Euro symbol"
49
+ },
50
+ {
51
+ "name":"&amp;quot;",
52
+ "description":"quotation mark"
53
+ },
54
+ {
55
+ "name":"&amp;ldquo;",
56
+ "description":"Opening Double Quotes "
57
+ },
58
+ {
59
+ "name":"&amp;rdquo;",
60
+ "description":"Closing Double Quotes "
61
+ },
62
+ {
63
+ "name":"&amp;lsquo;",
64
+ "description":"Opening Single Quote Mark "
65
+ },
66
+ {
67
+ "name":"&amp;rsquo;",
68
+ "description":"Closing Single Quote Mark "
69
+ },
70
+ {
71
+ "name":"&amp;laquo;",
72
+ "description":"angle quotation mark (left)"
73
+ },
74
+ {
75
+ "name":"&amp;raquo;",
76
+ "description":"angle quotation mark (right)"
77
+ },
78
+ {
79
+ "name":"&amp;lsaquo;",
80
+ "description":"single left angle quotation"
81
+ },
82
+ {
83
+ "name":"&amp;rsaquo;",
84
+ "description":"single right angle quotation"
85
+ },
86
+ {
87
+ "name":"&amp;sect;",
88
+ "description":"Section Symbol"
89
+ },
90
+ {
91
+ "name":"&amp;micro;",
92
+ "description":"micro sign"
93
+ },
94
+ {
95
+ "name":"&amp;para;",
96
+ "description":"Paragraph symbol"
97
+ },
98
+ {
99
+ "name":"&amp;bull;",
100
+ "description":"Big List Dot"
101
+ },
102
+ {
103
+ "name":"&amp;middot;",
104
+ "description":"Medium List Dot"
105
+ },
106
+ {
107
+ "name":"&amp;hellip;",
108
+ "description":"horizontal ellipsis"
109
+ },
110
+ {
111
+ "name":"&amp;#124;",
112
+ "description":"vertical bar"
113
+ },
114
+ {
115
+ "name":"&amp;brvbar;",
116
+ "description":"broken vertical bar"
117
+ },
118
+ {
119
+ "name":"&amp;ndash;",
120
+ "description":"en-dash"
121
+ },
122
+ {
123
+ "name":"&amp;mdash;",
124
+ "description":"em-dash"
125
+ },
126
+ {
127
+ "name":"&amp;curren;",
128
+ "description":"Generic currency symbol"
129
+ },
130
+ {
131
+ "name":"&amp;#33;",
132
+ "description":"exclamation point"
133
+ },
134
+ {
135
+ "name":"&amp;#35;",
136
+ "description":"number sign"
137
+ },
138
+ {
139
+ "name":"&amp;#39;",
140
+ "description":"single quote"
141
+ },
142
+ {
143
+ "name":"&amp;#40;",
144
+ "description":""
145
+ },
146
+ {
147
+ "name":"&amp;#41;",
148
+ "description":""
149
+ },
150
+ {
151
+ "name":"&amp;#42;",
152
+ "description":"asterisk"
153
+ },
154
+ {
155
+ "name":"&amp;#43;",
156
+ "description":"plus sign"
157
+ },
158
+ {
159
+ "name":"&amp;#44;",
160
+ "description":"comma"
161
+ },
162
+ {
163
+ "name":"&amp;#45;",
164
+ "description":"minus sign - hyphen"
165
+ },
166
+ {
167
+ "name":"&amp;#46;",
168
+ "description":"period"
169
+ },
170
+ {
171
+ "name":"&amp;#47;",
172
+ "description":"slash"
173
+ },
174
+ {
175
+ "name":"&amp;#48;",
176
+ "description":"0"
177
+ },
178
+ {
179
+ "name":"&amp;#49;",
180
+ "description":"1"
181
+ },
182
+ {
183
+ "name":"&amp;#50;",
184
+ "description":"2"
185
+ },
186
+ {
187
+ "name":"&amp;#51;",
188
+ "description":"3"
189
+ },
190
+ {
191
+ "name":"&amp;#52;",
192
+ "description":"4"
193
+ },
194
+ {
195
+ "name":"&amp;#53;",
196
+ "description":"5"
197
+ },
198
+ {
199
+ "name":"&amp;#54;",
200
+ "description":"6"
201
+ },
202
+ {
203
+ "name":"&amp;#55;",
204
+ "description":"7"
205
+ },
206
+ {
207
+ "name":"&amp;#56;",
208
+ "description":"8"
209
+ },
210
+ {
211
+ "name":"&amp;#57;",
212
+ "description":"9"
213
+ },
214
+ {
215
+ "name":"&amp;#58;",
216
+ "description":"colon"
217
+ },
218
+ {
219
+ "name":"&amp;#59;",
220
+ "description":"semicolon"
221
+ },
222
+ {
223
+ "name":"&amp;#61;",
224
+ "description":"equal sign"
225
+ },
226
+ {
227
+ "name":"&amp;#63;",
228
+ "description":"question mark"
229
+ },
230
+ {
231
+ "name":"&amp;lt;",
232
+ "description":"Less than"
233
+ },
234
+ {
235
+ "name":"&amp;gt;",
236
+ "description":"Greater than"
237
+ },
238
+ {
239
+ "name":"&amp;le;",
240
+ "description":"Less than or Equal to"
241
+ },
242
+ {
243
+ "name":"&amp;ge;",
244
+ "description":"Greater than or Equal to"
245
+ },
246
+ {
247
+ "name":"&amp;times;",
248
+ "description":"Multiplication symbol"
249
+ },
250
+ {
251
+ "name":"&amp;divide;",
252
+ "description":"Division symbol"
253
+ },
254
+ {
255
+ "name":"&amp;minus;",
256
+ "description":"Minus symbol"
257
+ },
258
+ {
259
+ "name":"&amp;plusmn;",
260
+ "description":"Plus/minus symbol"
261
+ },
262
+ {
263
+ "name":"&amp;ne;",
264
+ "description":"Not Equal"
265
+ },
266
+ {
267
+ "name":"&amp;sup1;",
268
+ "description":"Superscript 1"
269
+ },
270
+ {
271
+ "name":"&amp;sup2;",
272
+ "description":"Superscript 2"
273
+ },
274
+ {
275
+ "name":"&amp;sup3;",
276
+ "description":"Superscript 3"
277
+ },
278
+ {
279
+ "name":"&amp;frac12;",
280
+ "description":"Fraction ½"
281
+ },
282
+ {
283
+ "name":"&amp;frac14;",
284
+ "description":"Fraction ¼"
285
+ },
286
+ {
287
+ "name":"&amp;frac34;",
288
+ "description":"Fraction ¾"
289
+ },
290
+ {
291
+ "name":"&amp;permil;",
292
+ "description":"per mille"
293
+ },
294
+ {
295
+ "name":"&amp;deg;",
296
+ "description":"Degree symbol"
297
+ },
298
+ {
299
+ "name":"&amp;radic;",
300
+ "description":"square root"
301
+ },
302
+ {
303
+ "name":"&amp;infin;",
304
+ "description":"Infinity"
305
+ },
306
+ {
307
+ "name":"&amp;larr;",
308
+ "description":"left arrow"
309
+ },
310
+ {
311
+ "name":"&amp;uarr;",
312
+ "description":"up arrow"
313
+ },
314
+ {
315
+ "name":"&amp;rarr;",
316
+ "description":"right arrow"
317
+ },
318
+ {
319
+ "name":"&amp;darr;",
320
+ "description":"down arrow"
321
+ },
322
+ {
323
+ "name":"&amp;harr;",
324
+ "description":"left right arrow"
325
+ },
326
+ {
327
+ "name":"&amp;crarr;",
328
+ "description":"carriage return arrow"
329
+ },
330
+ {
331
+ "name":"&amp;lceil;",
332
+ "description":"left ceiling"
333
+ },
334
+ {
335
+ "name":"&amp;rceil;",
336
+ "description":"right ceiling"
337
+ },
338
+ {
339
+ "name":"&amp;lfloor;",
340
+ "description":"left floor"
341
+ },
342
+ {
343
+ "name":"&amp;rfloor;",
344
+ "description":"right floor"
345
+ },
346
+ {
347
+ "name":"&amp;spades;",
348
+ "description":"spade"
349
+ },
350
+ {
351
+ "name":"&amp;clubs;",
352
+ "description":"club"
353
+ },
354
+ {
355
+ "name":"&amp;hearts;",
356
+ "description":"heart"
357
+ },
358
+ {
359
+ "name":"&amp;diams;",
360
+ "description":"diamond"
361
+ },
362
+ {
363
+ "name":"&amp;loz;",
364
+ "description":"lozenge"
365
+ },
366
+ {
367
+ "name":"&amp;dagger;",
368
+ "description":"dagger"
369
+ },
370
+ {
371
+ "name":"&amp;Dagger;",
372
+ "description":"double dagger"
373
+ },
374
+ {
375
+ "name":"&amp;iexcl;",
376
+ "description":"inverted exclamation mark"
377
+ },
378
+ {
379
+ "name":"&amp;iquest;",
380
+ "description":"inverted question mark"
381
+ },
382
+ {
383
+ "name":"&amp;#338;",
384
+ "description":"latin capital letter OE"
385
+ },
386
+ {
387
+ "name":"&amp;#339;",
388
+ "description":"latin small letter oe"
389
+ },
390
+ {
391
+ "name":"&amp;#352;",
392
+ "description":"latin capital letter S with caron"
393
+ },
394
+ {
395
+ "name":"&amp;#353;",
396
+ "description":"latin small letter s with caron"
397
+ },
398
+ {
399
+ "name":"&amp;#376;",
400
+ "description":"latin capital letter Y with diaeresis"
401
+ },
402
+ {
403
+ "name":"&amp;#402;",
404
+ "description":"latin small f with hook - function"
405
+ },
406
+ {
407
+ "name":"&amp;not;",
408
+ "description":"not sign"
409
+ },
410
+ {
411
+ "name":"&amp;ordf;",
412
+ "description":"feminine ordinal indicator"
413
+ },
414
+ {
415
+ "name":"&amp;uml;",
416
+ "description":"spacing diaeresis - umlaut"
417
+ },
418
+ {
419
+ "name":"&amp;macr;",
420
+ "description":"spacing macron - overline"
421
+ },
422
+ {
423
+ "name":"&amp;acute;",
424
+ "description":"acute accent - spacing acute"
425
+ },
426
+ {
427
+ "name":"&amp;Agrave;",
428
+ "description":"latin capital letter A with grave"
429
+ },
430
+ {
431
+ "name":"&amp;Aacute;",
432
+ "description":"latin capital letter A with acute"
433
+ },
434
+ {
435
+ "name":"&amp;Acirc;",
436
+ "description":"latin capital letter A with circumflex"
437
+ },
438
+ {
439
+ "name":"&amp;Atilde;",
440
+ "description":"latin capital letter A with tilde"
441
+ },
442
+ {
443
+ "name":"&amp;Auml;",
444
+ "description":"latin capital letter A with diaeresis"
445
+ },
446
+ {
447
+ "name":"&amp;Aring;",
448
+ "description":"latin capital letter A with ring above"
449
+ },
450
+ {
451
+ "name":"&amp;AElig;",
452
+ "description":"latin capital letter AE"
453
+ },
454
+ {
455
+ "name":"&amp;Ccedil;",
456
+ "description":"latin capital letter C with cedilla"
457
+ },
458
+ {
459
+ "name":"&amp;Egrave;",
460
+ "description":"latin capital letter E with grave"
461
+ },
462
+ {
463
+ "name":"&amp;Eacute;",
464
+ "description":"latin capital letter E with acute"
465
+ },
466
+ {
467
+ "name":"&amp;Ecirc;",
468
+ "description":"latin capital letter E with circumflex"
469
+ },
470
+ {
471
+ "name":"&amp;Euml;",
472
+ "description":"latin capital letter E with diaeresis"
473
+ },
474
+ {
475
+ "name":"&amp;Igrave;",
476
+ "description":"latin capital letter I with grave"
477
+ },
478
+ {
479
+ "name":"&amp;Iacute;",
480
+ "description":"latin capital letter I with acute"
481
+ },
482
+ {
483
+ "name":"&amp;Icirc;",
484
+ "description":"latin capital letter I with circumflex"
485
+ },
486
+ {
487
+ "name":"&amp;Iuml;",
488
+ "description":"latin capital letter I with diaeresis"
489
+ },
490
+
491
+ {
492
+ "name":"&amp;ETH;",
493
+ "description":"latin capital letter ETH"
494
+ },
495
+ {
496
+ "name":"&amp;Ntilde;",
497
+ "description":"latin capital letter N with tilde"
498
+ },
499
+ {
500
+ "name":"&amp;Ograve;",
501
+ "description":"latin capital letter O with grave"
502
+ },
503
+ {
504
+ "name":"&amp;Oacute;",
505
+ "description":"latin capital letter O with acute"
506
+ },
507
+ {
508
+ "name":"&amp;Ocirc;",
509
+ "description":"latin capital letter O with circumflex"
510
+ },
511
+ {
512
+ "name":"&amp;Otilde;",
513
+ "description":"latin capital letter O with tilde"
514
+ },
515
+ {
516
+ "name":"&amp;Ouml;",
517
+ "description":"latin capital letter O with diaeresis"
518
+ },
519
+ {
520
+ "name":"&amp;times;",
521
+ "description":"multiplication sign"
522
+ },
523
+ {
524
+ "name":"&amp;Oslash;",
525
+ "description":"latin capital letter O with slash"
526
+ },
527
+ {
528
+ "name":"&amp;Ugrave;",
529
+ "description":"latin capital letter U with grave"
530
+ },
531
+ {
532
+ "name":"&amp;Uacute;",
533
+ "description":"latin capital letter U with acute"
534
+ },
535
+ {
536
+ "name":"&amp;Ucirc;",
537
+ "description":"latin capital letter U with circumflex"
538
+ },
539
+ {
540
+ "name":"&amp;Uuml;",
541
+ "description":"latin capital letter U with diaeresis"
542
+ },
543
+ {
544
+ "name":"&amp;Yacute;",
545
+ "description":"latin capital letter Y with acute"
546
+ },
547
+ {
548
+ "name":"&amp;THORN;",
549
+ "description":"latin capital letter THORN"
550
+ },
551
+ {
552
+ "name":"&amp;szlig;",
553
+ "description":"latin small letter sharp s - ess-zed"
554
+ },
555
+
556
+
557
+ {
558
+ "name":"&amp;eth;",
559
+ "description":"latin capital letter eth"
560
+ },
561
+ {
562
+ "name":"&amp;ntilde;",
563
+ "description":"latin capital letter n with tilde"
564
+ },
565
+ {
566
+ "name":"&amp;ograve;",
567
+ "description":"latin capital letter o with grave"
568
+ },
569
+ {
570
+ "name":"&amp;oacute;",
571
+ "description":"latin capital letter o with acute"
572
+ },
573
+ {
574
+ "name":"&amp;ocirc;",
575
+ "description":"latin capital letter o with circumflex"
576
+ },
577
+ {
578
+ "name":"&amp;otilde;",
579
+ "description":"latin capital letter o with tilde"
580
+ },
581
+ {
582
+ "name":"&amp;ouml;",
583
+ "description":"latin capital letter o with diaeresis"
584
+ },
585
+ {
586
+ "name":"&amp;times;",
587
+ "description":"multiplication sign"
588
+ },
589
+ {
590
+ "name":"&amp;oslash;",
591
+ "description":"latin capital letter o with slash"
592
+ },
593
+ {
594
+ "name":"&amp;ugrave;",
595
+ "description":"latin capital letter u with grave"
596
+ },
597
+ {
598
+ "name":"&amp;uacute;",
599
+ "description":"latin capital letter u with acute"
600
+ },
601
+ {
602
+ "name":"&amp;ucirc;",
603
+ "description":"latin capital letter u with circumflex"
604
+ },
605
+ {
606
+ "name":"&amp;uuml;",
607
+ "description":"latin capital letter u with diaeresis"
608
+ },
609
+ {
610
+ "name":"&amp;yacute;",
611
+ "description":"latin capital letter y with acute"
612
+ },
613
+ {
614
+ "name":"&amp;thorn;",
615
+ "description":"latin capital letter thorn"
616
+ },
617
+ {
618
+ "name":"&amp;yuml;",
619
+ "description":"latin small letter y with diaeresis"
620
+ },
621
+
622
+ {
623
+ "name":"&amp;agrave;",
624
+ "description":"latin capital letter a with grave"
625
+ },
626
+ {
627
+ "name":"&amp;aacute;",
628
+ "description":"latin capital letter a with acute"
629
+ },
630
+ {
631
+ "name":"&amp;acirc;",
632
+ "description":"latin capital letter a with circumflex"
633
+ },
634
+ {
635
+ "name":"&amp;atilde;",
636
+ "description":"latin capital letter a with tilde"
637
+ },
638
+ {
639
+ "name":"&amp;auml;",
640
+ "description":"latin capital letter a with diaeresis"
641
+ },
642
+ {
643
+ "name":"&amp;aring;",
644
+ "description":"latin capital letter a with ring above"
645
+ },
646
+ {
647
+ "name":"&amp;aelig;",
648
+ "description":"latin capital letter ae"
649
+ },
650
+ {
651
+ "name":"&amp;ccedil;",
652
+ "description":"latin capital letter c with cedilla"
653
+ },
654
+ {
655
+ "name":"&amp;egrave;",
656
+ "description":"latin capital letter e with grave"
657
+ },
658
+ {
659
+ "name":"&amp;eacute;",
660
+ "description":"latin capital letter e with acute"
661
+ },
662
+ {
663
+ "name":"&amp;ecirc;",
664
+ "description":"latin capital letter e with circumflex"
665
+ },
666
+ {
667
+ "name":"&amp;euml;",
668
+ "description":"latin capital letter e with diaeresis"
669
+ },
670
+ {
671
+ "name":"&amp;igrave;",
672
+ "description":"latin capital letter i with grave"
673
+ },
674
+ {
675
+ "name":"&amp;Iacute;",
676
+ "description":"latin capital letter i with acute"
677
+ },
678
+ {
679
+ "name":"&amp;icirc;",
680
+ "description":"latin capital letter i with circumflex"
681
+ },
682
+ {
683
+ "name":"&amp;iuml;",
684
+ "description":"latin capital letter i with diaeresis"
685
+ },
686
+
687
+ {
688
+ "name":"&amp;#65;",
689
+ "description":"A"
690
+ },
691
+ {
692
+ "name":"&amp;#66;",
693
+ "description":"B"
694
+ },
695
+ {
696
+ "name":"&amp;#67;",
697
+ "description":"C"
698
+ },
699
+ {
700
+ "name":"&amp;#68;",
701
+ "description":"D"
702
+ },
703
+ {
704
+ "name":"&amp;#69;",
705
+ "description":"E"
706
+ },
707
+ {
708
+ "name":"&amp;#70;",
709
+ "description":"F"
710
+ },
711
+ {
712
+ "name":"&amp;#71;",
713
+ "description":"G"
714
+ },
715
+ {
716
+ "name":"&amp;#72;",
717
+ "description":"H"
718
+ },
719
+ {
720
+ "name":"&amp;#73;",
721
+ "description":"I"
722
+ },
723
+ {
724
+ "name":"&amp;#74;",
725
+ "description":"J"
726
+ },
727
+ {
728
+ "name":"&amp;#75;",
729
+ "description":"K"
730
+ },
731
+ {
732
+ "name":"&amp;#76;",
733
+ "description":"L"
734
+ },
735
+ {
736
+ "name":"&amp;#77;",
737
+ "description":"M"
738
+ },
739
+ {
740
+ "name":"&amp;#78;",
741
+ "description":"N"
742
+ },
743
+ {
744
+ "name":"&amp;#79;",
745
+ "description":"O"
746
+ },
747
+ {
748
+ "name":"&amp;#80;",
749
+ "description":"P"
750
+ },
751
+ {
752
+ "name":"&amp;#81;",
753
+ "description":"Q"
754
+ },
755
+ {
756
+ "name":"&amp;#82;",
757
+ "description":"R"
758
+ },
759
+ {
760
+ "name":"&amp;#83;",
761
+ "description":"S"
762
+ },
763
+ {
764
+ "name":"&amp;#84;",
765
+ "description":"T"
766
+ },
767
+ {
768
+ "name":"&amp;#85;",
769
+ "description":"U"
770
+ },
771
+ {
772
+ "name":"&amp;#86;",
773
+ "description":"V"
774
+ },
775
+ {
776
+ "name":"&amp;#87;",
777
+ "description":"W"
778
+ },
779
+ {
780
+ "name":"&amp;#88;",
781
+ "description":"X"
782
+ },
783
+ {
784
+ "name":"&amp;#89;",
785
+ "description":"Y"
786
+ },
787
+ {
788
+ "name":"&amp;#90;",
789
+ "description":"Z"
790
+ },
791
+ {
792
+ "name":"&amp;#91;",
793
+ "description":"opening bracket"
794
+ },
795
+ {
796
+ "name":"&amp;#92;",
797
+ "description":"backslash"
798
+ },
799
+ {
800
+ "name":"&amp;#93;",
801
+ "description":"closing bracket"
802
+ },
803
+ {
804
+ "name":"&amp;#94;",
805
+ "description":"caret - circumflex"
806
+ },
807
+ {
808
+ "name":"&amp;#95;",
809
+ "description":"underscore"
810
+ },
811
+
812
+ {
813
+ "name":"&amp;#96;",
814
+ "description":"grave accent"
815
+ },
816
+ {
817
+ "name":"&amp;#97;",
818
+ "description":"a"
819
+ },
820
+ {
821
+ "name":"&amp;#98;",
822
+ "description":"b"
823
+ },
824
+ {
825
+ "name":"&amp;#99;",
826
+ "description":"c"
827
+ },
828
+ {
829
+ "name":"&amp;#100;",
830
+ "description":"d"
831
+ },
832
+ {
833
+ "name":"&amp;#101;",
834
+ "description":"e"
835
+ },
836
+ {
837
+ "name":"&amp;#102;",
838
+ "description":"f"
839
+ },
840
+ {
841
+ "name":"&amp;#103;",
842
+ "description":"g"
843
+ },
844
+ {
845
+ "name":"&amp;#104;",
846
+ "description":"h"
847
+ },
848
+ {
849
+ "name":"&amp;#105;",
850
+ "description":"i"
851
+ },
852
+ {
853
+ "name":"&amp;#106;",
854
+ "description":"j"
855
+ },
856
+ {
857
+ "name":"&amp;#107;",
858
+ "description":"k"
859
+ },
860
+ {
861
+ "name":"&amp;#108;",
862
+ "description":"l"
863
+ },
864
+ {
865
+ "name":"&amp;#109;",
866
+ "description":"m"
867
+ },
868
+ {
869
+ "name":"&amp;#110;",
870
+ "description":"n"
871
+ },
872
+ {
873
+ "name":"&amp;#111;",
874
+ "description":"o"
875
+ },
876
+ {
877
+ "name":"&amp;#112;",
878
+ "description":"p"
879
+ },
880
+ {
881
+ "name":"&amp;#113;",
882
+ "description":"q"
883
+ },
884
+ {
885
+ "name":"&amp;#114;",
886
+ "description":"r"
887
+ },
888
+ {
889
+ "name":"&amp;#115;",
890
+ "description":"s"
891
+ },
892
+ {
893
+ "name":"&amp;#116;",
894
+ "description":"t"
895
+ },
896
+ {
897
+ "name":"&amp;#117;",
898
+ "description":"u"
899
+ },
900
+ {
901
+ "name":"&amp;#118;",
902
+ "description":"v"
903
+ },
904
+ {
905
+ "name":"&amp;#119;",
906
+ "description":"w"
907
+ },
908
+ {
909
+ "name":"&amp;#120;",
910
+ "description":"x"
911
+ },
912
+ {
913
+ "name":"&amp;#121;",
914
+ "description":"y"
915
+ },
916
+ {
917
+ "name":"&amp;#122;",
918
+ "description":"z"
919
+ },
920
+ {
921
+ "name":"&amp;#123;",
922
+ "description":"opening brace"
923
+ },
924
+ {
925
+ "name":"&amp;#124;",
926
+ "description":"vertical bar"
927
+ },
928
+ {
929
+ "name":"&amp;#125;",
930
+ "description":"closing brace"
931
+ },
932
+ {
933
+ "name":"&amp;#126;",
934
+ "description":"equivalency sign - tilde"
935
+ }
936
+ ]