This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #foo { | |
| -webkit-animation: foo 2s 3s normal; | |
| -moz-animation: foo 2s 3s normal; | |
| -ms-animation: foo 2s 3s normal; | |
| -o-animation: foo 2s 3s normal; | |
| animation: foo 2s 3s normal; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .keyframes(@name, @class) { | |
| @-webkit-keyframes @name { @class } | |
| @-moz-keyframes @name { @class } | |
| @-ms-keyframes @name { @class } | |
| @-o-keyframes @name { @class } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [core] | |
| repositoryformatversion = 0 | |
| filemode = true | |
| bare = false | |
| logallrefupdates = true | |
| ignorecase = true | |
| [remote "origin"] | |
| fetch = +refs/heads/*:refs/remotes/origin/* | |
| url = csgit:upperroom.git | |
| [branch "master"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * WIDGET-CALLOUT | |
| * Simplest possible widget, intended for sidebar highlights | |
| * Contents: | |
| * - Title | |
| * - Header | |
| * - Byline | |
| * - Read-More link | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class AddAcademyFacultyPage < ActiveRecord::Migration | |
| def self.up | |
| site = Site.find_by_subdomain('academy') | |
| aboutpage = site.pages.find_by_slug('about') | |
| page = site.pages.find_by_slug('about-faculty') | |
| aboutpage.children << page | |
| 1.upto(4) do |i| |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| site = Site.find_by_subdomain('academy') | |
| page = site.pages.find_by_slug('about-faculty') | |
| 4.times do |i| | |
| id = i + 1 | |
| tab = page.widgets.find_by_name("tab_#{id}") | |
| 10.times do |j| | |
| faculty_member = tab.children.find_by_name("faculty_#{j}") | |
| faculty_member.children << CheckboxWidget.create!(:name => "featured_#{j}") | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'spec_helper' | |
| describe Answer do | |
| describe "in general" do | |
| before(:all) do | |
| site = Factory(:site) | |
| page = Factory(:page) | |
| @answer = Factory(:answer, :page_id => page.id, :site_id => site.id) | |
| subject {@answer} | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Admin::AnswersController < Admin::AdminController | |
| helper :answers | |
| def index | |
| @answers = @site.answers | |
| end | |
| def show | |
| @answer = Answer.find(params[:id]) |