Skip to content

Commit

Permalink
Merge conditional minigame prototype and rework the view/vue wiring
Browse files Browse the repository at this point in the history
  • Loading branch information
Catsync committed Jun 11, 2018
1 parent 09b3989 commit 5e38fe9
Show file tree
Hide file tree
Showing 19 changed files with 408 additions and 1 deletion.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions app/core/Router.coffee
Expand Up @@ -158,6 +158,8 @@ module.exports = class CocoRouter extends Backbone.Router

'logout': 'logout'

'minigames/conditionals': go('minigames/ConditionalMinigameView')

'paypal/subscribe-callback': go('play/CampaignView')
'paypal/cancel-callback': go('account/SubscriptionView')

Expand Down
1 change: 1 addition & 0 deletions app/lib/dynamicRequire.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/views/artisans/SandboxView.coffee
Expand Up @@ -2,7 +2,7 @@ RootComponent = require 'views/core/RootComponent'
template = require 'templates/base-flat'
SandboxViewComponent = require('./SandboxViewComponent.vue').default

module.exports = class BulkLevelEditView extends RootComponent
module.exports = class SandboxView extends RootComponent
id: 'sandbox-view'
template: template
VueComponent: SandboxViewComponent
Expand Down
5 changes: 5 additions & 0 deletions app/views/artisans/SandboxViewComponent.vue
@@ -1,6 +1,11 @@
<template lang="pug">
div.container
h1 Artisan Sandbox
div
a(href='/minigames/conditionals')
|Conditionals Minigame Prototype


</template>

<script lang="coffee">
Expand Down

0 comments on commit 5e38fe9

Please sign in to comment.