1. 01 Aug, 2015 8 commits
  2. 29 Jul, 2015 1 commit
  3. 26 Jul, 2015 2 commits
  4. 22 Jul, 2015 1 commit
  5. 12 Jul, 2015 2 commits
  6. 02 Jul, 2015 3 commits
  7. 24 Jun, 2015 1 commit
    • Safely concatenate JavaScript · 2af0561d
      Most JavaScript packages wrap their code in IIFEs, which is good.
      
      Pipeline used to concatenate JS only with a newline. That can break those IIFES
      though:
      
          (function() {
            // package A
          }()) // No semicolon! Most people put one here, but unfortunately not all!
          (function() {
            // package B
          }());
      
      The above is equivalent to:
      
          (function() {
            // package A
          }())(function() {
            // package B
          }());
      
      Suddenly we have a function call!
      
      With this commit, JS is concatenated with a newline followed by a semicolon,
      which fixes the above issue:
      
          (function() {
            // package A
          }()) // No semicolon! Most people put one here, but unfortunately not all!
          ;(function() {
            // package B
          }());
      
      There is no need to worry about superfluos semicolons, such as:
      
          (function() {
            // package A
          }());
          ;;(function() {
            // package B
          }());
      
      That is still valid JavaScript and the extra semicolons will be removed by the
      minifier.
      Simon Lydell committed
  8. 11 Jun, 2015 1 commit
  9. 06 Jun, 2015 3 commits
  10. 23 May, 2015 1 commit
  11. 10 May, 2015 1 commit
  12. 09 May, 2015 1 commit
  13. 03 May, 2015 1 commit
  14. 25 Apr, 2015 7 commits
  15. 12 Apr, 2015 2 commits
  16. 18 Mar, 2015 2 commits
  17. 16 Mar, 2015 1 commit
  18. 08 Mar, 2015 2 commits