Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: blambeau/polygon
base: 0f32883013
...
head fork: blambeau/polygon
compare: 76fe016440
Checking mergeability… Don't worry, you can still create the pull request.
  • 4 commits
  • 8 files changed
  • 0 commit comments
  • 1 contributor
View
4 templates/polygon.noe/noespec.yaml
@@ -56,6 +56,10 @@ template-info:
description: Boostrap javascript components
safe-override: true
wlang-dialect: ~
+ content/static/js/libs/html5.min.js:
+ description: HTML5 lightweight modernizer for IE9
+ safe-override: true
+ wlang-dialect: ~
content/static/js/libs/jquery.min.js:
description: jQuery library
safe-override: true
View
2  templates/polygon.noe/src/Gemfile
@@ -1,8 +1,8 @@
source :rubygems
gem "redcarpet", "~> 2.0.1"
+gem "sinatra", :git => "git://github.com/sinatra/sinatra"
gem "polygon", :git => "git://github.com/blambeau/polygon"
-gem "sinatra", :git => "git://github.com/blambeau/sinatra"
gem 'wlang', :git => "git://github.com/blambeau/wlang", :branch => :wlang2
group :development do
View
3  templates/polygon.noe/src/content/static/js/libs/html5.min.js
@@ -0,0 +1,3 @@
+/*! HTML5 Shiv vpre3.6 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed
+ Uncompressed source: https://github.com/aFarkas/html5shiv */
+(function(a,b){function h(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function i(){var a=l.elements;return typeof a=="string"?a.split(" "):a}function j(a){var b={},c=a.createElement,f=a.createDocumentFragment,g=f();a.createElement=function(a){if(!l.shivMethods)return c(a);var f;return b[a]?f=b[a].cloneNode():e.test(a)?f=(b[a]=c(a)).cloneNode():f=c(a),f.canHaveChildren&&!d.test(a)?g.appendChild(f):f},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+i().join().replace(/\w+/g,function(a){return c(a),g.createElement(a),'c("'+a+'")'})+");return n}")(l,g)}function k(a){var b;return a.documentShived?a:(l.shivCSS&&!f&&(b=!!h(a,"article,aside,details,figcaption,figure,footer,header,hgroup,nav,section{display:block}audio{display:none}canvas,video{display:inline-block;*display:inline;*zoom:1}[hidden]{display:none}audio[controls]{display:inline-block;*display:inline;*zoom:1}mark{background:#FF0;color:#000}")),g||(b=!j(a)),b&&(a.documentShived=b),a)}var c=a.html5||{},d=/^<|^(?:button|form|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^<|^(?:a|b|button|code|div|fieldset|form|h1|h2|h3|h4|h5|h6|i|iframe|img|input|label|li|link|ol|option|p|param|q|script|select|span|strong|style|table|tbody|td|textarea|tfoot|th|thead|tr|ul)$/i,f,g;(function(){var c=b.createElement("a");c.innerHTML="<xyz></xyz>",f="hidden"in c,f&&typeof injectElementWithStyles=="function"&&injectElementWithStyles("#modernizr{}",function(b){b.hidden=!0,f=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).display=="none"}),g=c.childNodes.length==1||function(){try{b.createElement("a")}catch(a){return!0}var c=b.createDocumentFragment();return typeof c.cloneNode=="undefined"||typeof c.createDocumentFragment=="undefined"||typeof c.createElement=="undefined"}()})();var l={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:k};a.html5=l,k(b)})(this,document)
View
2  templates/polygon.noe/src/design/views/layouts/html5.wlang
@@ -18,7 +18,7 @@
<link rel="stylesheet" href="/css/style.css">
<link rel="author" href="humans.txt" />
- <script src="/js/libs/modernizr.min.js"></script>
+ <!--[if lt IE 9]><script src="/js/libs/html5.js"></script><![endif]-->
</head>
<body>
<!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
View
4 templates/polygon.noe/src/spec/test_404.rb
@@ -1,11 +1,11 @@
require 'helper'
-describe "/" do
+describe "/this/is-not-an-existing-page" do
before do
get '/this/is-not-an-existing-page'
end
- it 'not respond' do
+ it 'does not respond' do
status.should == 404
content_type.should =~ %r{text/html}
body.should =~ %r{<title>Page Not Found}
View
1  templates/polygon.noe/src/spec/test_index.rb
@@ -3,6 +3,7 @@
before do
get '/'
+ follow_redirect! if status==302
end
it 'responds' do
View
1  templates/polygon.noe/src/spec/test_root.rb
@@ -3,6 +3,7 @@
before do
get '/'
+ follow_redirect! if status==302
end
it 'respond' do
View
5 templates/polygon.noe/src/spec/test_sitemap.rb
@@ -28,7 +28,10 @@
url = tuple[:path]
describe url do
- before { head(url) }
+ before {
+ head(url)
+ follow_redirect! if status==302
+ }
specify{ status.should == 200 }
end
end

No commit comments for this range

Something went wrong with that request. Please try again.