B. Shabanov (b.shabanov@rambler-co.ru)
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
| chai = require 'chai' | |
| spies = require 'chai-spies' | |
| chai.use spies | |
| CommandQueue = require '../../src/CommandQueueForNemoApps' | |
| MockCommand = require '../mocks/MockCommandForCommandQueueSpec' | |
| describe 'Выполнение команд', -> | |
| it 'Execute отрабатывает один раз', (specDone) -> |
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
| @_popupManager.showPopup | |
| content: "Для просмотра «#{model.get 'name'}» приобретите пакет «#{tariffName}»" | |
| buttons: [ | |
| {caption: 'Перейти'} | |
| {caption: 'Отказаться'} | |
| ] |
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
| /* | |
| * Copyright (C) 2014 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
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
| package com.example.vkulibaba.smartnemotv; | |
| import android.app.Activity; | |
| import android.content.Context; | |
| import android.graphics.Color; | |
| import android.media.MediaPlayer; | |
| import android.net.Uri; | |
| import android.os.Bundle; | |
| import android.view.View; | |
| import android.view.ViewGroup; |
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
| package com.example.vkulibaba.smartnemotv; | |
| import android.app.Activity; | |
| import android.content.Context; | |
| import android.graphics.Color; | |
| import android.media.MediaPlayer; | |
| import android.net.Uri; | |
| import android.os.Bundle; | |
| import android.view.View; | |
| import android.view.ViewGroup; |
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 fs = require('fs'); | |
| var path = require('path'); | |
| var filePath = path.normalize('./node_modules/gulp-browserify/node_modules/browserify/node_modules/module-deps/index.js'); | |
| fs.readFile(filePath, 'utf8', function (err,data) { | |
| if (err) return console.error(err); | |
| var result = data.replace(/var isTopLevel =/g, 'var isTopLevel = true; var spike = '); | |
| fs.writeFile(filePath, result, 'utf8', function (err) { |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <TaskOptions> | |
| <TaskOptions> | |
| <option name="arguments" value="-f /Users/b.shabanov/projects/coffeescript-style-guide/coffeelint.json $FilePath$" /> | |
| <option name="checkSyntaxErrors" value="true" /> | |
| <option name="description" value="" /> | |
| <option name="exitCodeBehavior" value="ALWAYS" /> | |
| <option name="fileExtension" value="coffee" /> | |
| <option name="immediateSync" value="true" /> | |
| <option name="name" value="CoffeeLint" /> |
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
| myTeleportal.Device.Board = {}; | |
| (function (board) { | |
| 'use strict'; | |
| console.info('initialize device board'); | |
| _.extend (board, Backbone.Events); | |
| var keyCodes = { |
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 ApplicationController < ActionController::Base | |
| protect_from_forgery | |
| layout :layout_by_resource | |
| def layout_by_resource | |
| if devise_controller? | |
| 'no_body' | |
| else | |
| 'application' |
NewerOlder