Browse Source

Merge pull request #401 from ZDroid/minify

Improve minification
pull/411/head
Connor Sears 11 years ago
parent
commit
910d655a50
  1. 6
      Gruntfile.js
  2. 9
      dist/ratchet-theme-android.min.css
  3. 9
      dist/ratchet-theme-ios.min.css
  4. 9
      docs/dist/ratchet-theme-android.min.css
  5. 9
      docs/dist/ratchet-theme-ios.min.css
  6. 6
      docs/examples/app-android-notes/index.html
  7. 6
      docs/examples/app-ios-mail/inbox.html
  8. 6
      docs/examples/app-ios-mail/index.html
  9. 4
      docs/examples/app-movies/choose-theater.html
  10. 4
      docs/examples/app-movies/index.html

6
Gruntfile.js

@ -95,6 +95,12 @@ module.exports = function(grunt) {
src: '<%= meta.distPath %><%= pkg.name %>.css',
dest: '<%= meta.distPath %><%= pkg.name %>.min.css'
},
theme: {
files: {
'<%= meta.distPath %><%= pkg.name %>-theme-ios.min.css': '<%= meta.distPath %><%= pkg.name %>-theme-ios.css',
'<%= meta.distPath %><%= pkg.name %>-theme-android.min.css' : '<%= meta.distPath %><%= pkg.name %>-theme-android.css'
}
},
docs: {
src: [
'<%= meta.docsAssetsPath %>css/docs.css',

9
dist/ratchet-theme-android.min.css vendored

File diff suppressed because one or more lines are too long

9
dist/ratchet-theme-ios.min.css vendored

File diff suppressed because one or more lines are too long

9
docs/dist/ratchet-theme-android.min.css vendored

File diff suppressed because one or more lines are too long

9
docs/dist/ratchet-theme-ios.min.css vendored

File diff suppressed because one or more lines are too long

6
docs/examples/app-android-notes/index.html

@ -10,10 +10,10 @@
<!-- Roboto -->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:400,500,700">
<link rel="stylesheet" href="../../dist/ratchet.css">
<link rel="stylesheet" href="../../dist/ratchet-theme-android.css">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/ratchet-theme-android.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.js"></script>
<script src="../../dist/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

6
docs/examples/app-ios-mail/inbox.html

@ -7,10 +7,10 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.css">
<link rel="stylesheet" href="../../dist/ratchet-theme-ios.css">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/ratchet-theme-ios.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.js"></script>
<script src="../../dist/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

6
docs/examples/app-ios-mail/index.html

@ -7,10 +7,10 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.css">
<link rel="stylesheet" href="../../dist/ratchet-theme-ios.css">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="../../dist/ratchet-theme-ios.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.js"></script>
<script src="../../dist/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

4
docs/examples/app-movies/choose-theater.html

@ -7,9 +7,9 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.css">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.js"></script>
<script src="../../dist/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

4
docs/examples/app-movies/index.html

@ -7,9 +7,9 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="../../dist/ratchet.css">
<link rel="stylesheet" href="../../dist/ratchet.min.css">
<link rel="stylesheet" href="css/app.css">
<script src="../../dist/ratchet.js"></script>
<script src="../../dist/ratchet.min.js"></script>
</head>
<body>
<header class="bar bar-nav">

Loading…
Cancel
Save