This file contains 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
# for more details see: http://emberjs.com/guides/models/defining-models/ | |
class App.Commentable extends DS.Model | |
comments: DS.hasMany 'comment' | |
class App.Comment extends DS.Model | |
comments: DS.attr 'string' | |
commentable: DS.belongsTo 'commentable', polymorphic: true | |
class App.Client extends App.Commentable |
This file contains 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 | |
# Prevent CSRF attacks by raising an exception. | |
# For APIs, you may want to use :null_session instead. | |
protect_from_forgery with: :null_session | |
before_filter :cors_preflight_check | |
after_filter :cors_set_access_control_headers | |
def cors_preflight_check |
This file contains 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
function editExistingVarient() { | |
var variantIdentifier = $scope._getVariantIdentifiersBase(); | |
//no product exists with this combination of varient, lets add it to the array. | |
var productIdCounter = 1; | |
var productSku = 0; | |
var barcode = 0; | |
var barcode2 = 0; | |
var counter = 1; |
This file contains 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
(function() { | |
'use strict'; | |
var app = angular.module('nova'); | |
var events = { | |
controllerActivateSuccess: 'controller.activateSuccess', | |
spinnerToggle: 'spinner.toggle', | |
authenticationNeeded: 'auth.authenticationNeeded', |
This file contains 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
$this.on('keypress.autoNumeric', function (e) { | |
var holder = getHolder($this), | |
processed = holder.processed; | |
holder.init(e); | |
holder.settings.oEvent = 'keypress'; | |
if (holder.skipAllways(e)) { | |
return true; | |
} | |
if (processed) { | |
e.preventDefault(); |
This file contains 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
// VERSION 1 | |
define("cloud-books/routes/application", | |
["ember","simple-auth/mixins/application-route-mixin","exports"], | |
function(__dependency1__, __dependency2__, __exports__) { | |
"use strict"; | |
// app/routes/application.js | |
var Ember = __dependency1__["default"]; | |
var ApplicationRouteMixin = __dependency2__["default"]; |
This file contains 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
(function() { | |
'use strict'; | |
var app = angular.module('nova'); | |
var controllerId = 'TransfersController'; | |
app.controller(controllerId, ['$scope', '$q', '$rootScope', 'events', 'common', 'config', 'transferFilterFactory', transfersController]); | |
/** |
This file contains 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
I added this to: dialplan/default.xml | |
<extension name="Adhearsion"> | |
<condition> | |
<action application="rayo"/> | |
</condition> | |
</extension> | |
And this is part of rayo.xml |
This file contains 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
<include> | |
<!-- Preprocessor Variables | |
These are introduced when configuration strings must be consistent across modules. | |
NOTICE: YOU CAN NOT COMMENT OUT AN X-PRE-PROCESS line, Remove the line instead. | |
WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING | |
YOU SHOULD CHANGE THIS default_password value if you don't want to be subject to any | |
toll fraud in the future. It's your responsibility to secure your own system. | |
This file contains 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
**/usr/local/freeswitch/mod/mod_v8.so: cannot open shared object file: No such file or directory** | |
2014-10-05 14:04:34.343812 [DEBUG] switch_loadable_module.c:1398 Loading module with global namespace at request of module | |
2014-10-05 14:04:34.343846 [NOTICE] switch_loadable_module.c:227 Adding Dialplan 'LUA' | |
2014-10-05 14:04:34.343873 [NOTICE] switch_loadable_module.c:269 Adding Application 'lua' | |
2014-10-05 14:04:34.343906 [NOTICE] switch_loadable_module.c:292 Adding Chat Application 'lua' | |
2014-10-05 14:04:34.343948 [NOTICE] switch_loadable_module.c:315 Adding API Function 'luarun' | |
2014-10-05 14:04:34.343976 [NOTICE] switch_loadable_module.c:315 Adding API Function 'lua' | |
2014-10-05 14:04:34.344295 [NOTICE] switch_loadable_module.c:471 Adding Say interface 'en' | |
2014-10-05 14:04:34.344477 [DEBUG] mod_event_socket.c:2883 Socket up listening on 127.0.0.1:8021 | |
2014-10-05 14:04:34.344459 [DEBUG] switch_loadable_module.c:702 Chat Thread Started |
OlderNewer