Skip to content

Commit

Permalink
removed ie hack
Browse files Browse the repository at this point in the history
This hack is needed for Internet Explorer up to version 8. It looks
cleaner without it. If you still need it, you can add it like:

    @javascript-before {
      for(var e,
              l = "article aside footer header nav section time picture"
                  .split(" ");
          e = l.pop();
          document.createElement(e));
    }
  • Loading branch information
hagenburger committed Jul 3, 2016
1 parent 447ded8 commit 6a3d780
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* Adds a shortcut `@scss !global` for `@scss scope: global`
* Fixed/improved Sass imports (#191)
* Refactored classes and variables
* Removed IE hack


## 2.0.0.pre.3
Expand Down
2 changes: 0 additions & 2 deletions lib/livingstyleguide/templates/layout.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
<meta content="The LivingStyleGuide Gem v<%= LivingStyleGuide::VERSION %> – https://livingstyleguide.org" name="generator">
<title><%= ERB::Util.h(title) %></title>
<script>
// see: http://www.hagenburger.net/BLOG/Simple-HTML5-Fix-for-IE.html
for(var e,l="article aside footer header nav section time picture".split(" ");e=l.pop();document.createElement(e));
<%= javascript %>
</script>
<style>
Expand Down

0 comments on commit 6a3d780

Please sign in to comment.