Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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.
  • 4 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Commits on Apr 09, 2012
Steven G. Harms Congratulate iconoclasts for using Proto.js e89299e
Steven G. Harms Use proto.js 61523ef
Commits on Apr 12, 2012
Steven G. Harms Adds ember.js f9c0732
Steven G. Harms Functional "Embert"
* Loosens version check:
  emberjs/ember.js#680
* Codes to use jQuery versus prototype
* Adds visual confirmation of Ember + jQuery
* Corrects load-order issue
57f5bba
View
17,384 public/javascripts/vendor/ember-0.9.6.js
17,384 additions, 0 deletions not shown
View
10 public/views/index.slim
@@ -52,4 +52,12 @@ section.tweakables
coffee:
@zazzle = ->
- alert('i zazzle you')
+ alert('I zazzle you')
+
+ if window.jQuery?
+ console.log "You are using Jquery"
+ else
+ console.log "You are using Protoype "
+
+ if window.Em?
+ console.log "Looks like you're using Ember.js. Way to embrace the future!"
View
3  public/views/layout.slim
@@ -17,9 +17,12 @@ head
/* Include some baseline aweseome JS libraries*/
script src='/javascripts/vendor/underscore.js'
+
- if CONFIG::JSLIBRARY == 'JQuery'
script src='/javascripts/vendor/jquery.js'
script src='/javascripts/vendor/jquery-ui.js'
+ /* No Ember unless you jQuery too */
+ script src='/javascripts/vendor/ember-0.9.6.js'
- elsif CONFIG::JSLIBRARY == 'Prototype'
script src='/javascripts/vendor/prototype.js'
script src='/javascripts/vendor/scriptaculous-js-1.9.0/src/scriptaculous.js'

No commit comments for this range

Something went wrong with that request. Please try again.