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
| $tab-border-color: $tabs-navigation-bg-color; | |
| dl.tabs { | |
| border-bottom: 1px solid $tab-border-color; | |
| dd { | |
| position: relative; | |
| bottom: -1px; | |
| border-top: 1px solid $tab-border-color; | |
| border-left: 1px solid $tab-border-color; | |
| border-right: 1px solid $tab-border-color; |
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
| /* Put your CSS here */ | |
| html, body { | |
| margin: 20px; | |
| } |
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
| var Router = Ember.Router.extend(); | |
| Router.map(function() { | |
| this.resource('lti-apps', { path: '/' }); | |
| this.resource('lti-app', { path: '/:toolId' }, function() { | |
| this.resource('lti-app.browse', { path: '/browse' }, function() { | |
| this.route('show', { path: '/:folderChain' }); | |
| }); | |
| this.resource('lti-app.search', { path: '/search' }, function() { | |
| this.route('results', { path: '/results/:searchText' }); |
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
| import ajax from 'appkit/utils/ajax'; | |
| import Video from 'appkit/libs/media/video'; | |
| import Image from 'appkit/libs/media/image'; | |
| import Quiz from 'appkit/libs/media/quiz'; | |
| import Folder from 'appkit/libs/media/folder'; | |
| var Browse = Ember.Object.extend({ | |
| folders : null, | |
| items : null, |
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
| define("test/fixtures", ["exports"], function(__exports__) { | |
| "use strict"; | |
| __exports__["default"] = { | |
| search_page_1: { __FIXTURE_DATA_HERE__ }, | |
| search_page_2: { __FIXTURE_DATA_HERE__ }, | |
| search_page_3: { __FIXTURE_DATA_HERE__ } | |
| }; | |
| }); | |
| // test-helper.js |
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
| var EmbedBtnDropdownComponent = Ember.Component.extend({ | |
| classNames: 'return-types', | |
| actions: { | |
| embedItem: function(returnType) { | |
| this.sendAction('embedItem', returnType); | |
| } | |
| } | |
| }); |
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
| document.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>'); | |
| Ember.testing = true; | |
| window.startApp = require('appkit/tests/helpers/start-app')['default']; | |
| window.isolatedContainer = require('appkit/tests/helpers/isolated-container')['default']; | |
| window.fakeServer = require('appkit/tests/helpers/fake-server')['default']; | |
| function exists(selector) { | |
| return !!find(selector).length; |
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
| import Search from 'appkit/libs/search'; | |
| module('Unit: lib/search', { | |
| setup: function() {}, | |
| teardown: function() {} | |
| }); | |
| test('ajaxData', function() { | |
| var search = Search.create(); | |
| var ad = search.get('ajaxData'); |
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
| Ember.Test.registerAsyncHelper('submitForm', | |
| function(app, selector, context) { | |
| var $el = findWithAssert(selector, context); | |
| Ember.run(function() { | |
| $el.submit(); | |
| }); | |
| } | |
| ); | |
| // Example Usage |