From ccc18c7bad096d010cf721423190aa0b27b863ba Mon Sep 17 00:00:00 2001 From: iissnan Date: Tue, 3 Nov 2015 14:43:38 +0800 Subject: [PATCH] Resposive embedded videos support --- .editorconfig | 2 +- layout/_partials/head.swig | 1 + layout/_scripts/commons.swig | 2 +- source/js/src/bootstrap.js | 44 ++-------- source/js/src/helpers.js | 39 --------- source/js/src/utils.js | 152 +++++++++++++++++++++++++++++++++++ 6 files changed, 160 insertions(+), 80 deletions(-) delete mode 100644 source/js/src/helpers.js create mode 100644 source/js/src/utils.js diff --git a/.editorconfig b/.editorconfig index f0627b937..5ec33d1e2 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,7 +4,7 @@ root = true [*] charset = utf-8 -end_of_line = lf +end_of_line = crlf insert_final_newline = true trim_trailing_whitespace = true indent_style = space diff --git a/layout/_partials/head.swig b/layout/_partials/head.swig index 7868ed65f..81e597223 100644 --- a/layout/_partials/head.swig +++ b/layout/_partials/head.swig @@ -81,6 +81,7 @@ {# Export some HEXO Configurations to Front-End #}