Skip to content

Instantly share code, notes, and snippets.

[Error] Error: 'undefined' is not an object (evaluating 'self.scope.$form.$data[$attrs.eName] = newVal')
https://c.cs13.visual.force.com/resource/1384277518000/ccpp/ccpp/js/xeditable.js:302:33
$digest@https://c.cs13.visual.force.com/resource/1384277518000/ccpp/ccpp/js/angular.js:10569:29
$apply@https://c.cs13.visual.force.com/resource/1384277518000/ccpp/ccpp/js/angular.js:10802:31
done@https://c.cs13.visual.force.com/resource/1384277518000/ccpp/ccpp/js/angular.js:6937:51
completeRequest@https://c.cs13.visual.force.com/resource/1384277518000/ccpp/ccpp/js/angular.js:7102:15
onreadystatechange@https://c.cs13.visual.force.com/resource/1384277518000/ccpp/ccpp/js/angular.js:7058:26
(anonymous function) (angular.js, line 8296)
(anonymous function) (angular.js, line 5967)
$digest (angular.js, line 10581)
<div class="row-fluid"><!-- ngInclude: undefined --><ng-include src="templateUrl" class="ng-scope">
<script src="/jslibrary/1383366200000/sfdc/JiffyStubs.js" class="ng-scope"></script>
<div ng-controller="pp_Package_tabCtrl" class="ng-scope">
<div class="tabbable ng-isolate-scope ng-scope tabs-right" ng-class="{'tabs-right': direction == 'right', 'tabs-left': direction == 'left', 'tabs-below': direction == 'below'}" direction="'right'" type="'tabs'" vertical="true">
<ul class="nav nav-tabs nav-stacked" ng-class="{'nav-stacked': vertical}" tabset-titles="tabsAbove">
<!-- ngRepeat: tab in tabs --><li ng-class="{active: active, disabled: disabled}" active="tab.active" disabled="disabled" heading="Awesome Package" ng-repeat="tab in tabs" class="ng-isolate-scope ng-scope active">
<a ng-click="select()" tab-heading-transclude="" class="ng-binding">Awesome Package</a>
/*!
angular-xeditable - 0.1.7
Edit-in-place for angular.js
Build date: 2013-10-26
*/
/*
angular-xeditable module
*/
angular.module('xeditable', [])
.value('editableOptions', {
@noeticpenguin
noeticpenguin / RestClient.java
Created October 21, 2013 13:05
A basic Rest Client for Salesforce's Apex
Public with sharing virtual class RestClient {
Public class RestClientException extends Exception {}
/*
* class variable creation - DO NOT EDIT
*/
Public Map<String,String> headers;
Public String url;
Public String method;
{
"A" => [],
"B" => [
[0] {
"attributes" => {
"url" => "/services/data/v23.0/sobjects/Contact/003i000000MzFmYAAV",
"type" => "Contact"
},
"LastName" => "Barr",
"FirstName" => "Tim",
class RootViewController < UITableViewController
attr_accessor :dataRows
def didReceiveMemoryWarning
super
end
def dealloc
@dataRows = nil
@noeticpenguin
noeticpenguin / snippet.txt
Created October 10, 2013 19:45
backtrace
Process 83868 stopped
* thread #1: tid = 0x50b623, 0x0089ae40 Dreamforce Demo App`rb_exc_raise, queue = 'com.apple.main-thread, stop reason = breakpoint 1.1
frame #0: 0x0089ae40 Dreamforce Demo App`rb_exc_raise
Dreamforce Demo App`rb_exc_raise:
-> 0x89ae40: pushl %ebp
0x89ae41: movl %esp, %ebp
0x89ae43: subl $8, %esp
0x89ae46: movl 8(%ebp), %eax
(lldb) bt
* thread #1: tid = 0x50b623, 0x0089ae40 Dreamforce Demo App`rb_exc_raise, queue = 'com.apple.main-thread, stop reason = breakpoint 1.1
@noeticpenguin
noeticpenguin / app_delegate.rb
Created October 10, 2013 19:00
app_delegate.rb
class AppDelegate
attr_accessor :window, :initialLoginSuccessBlock, :initialLoginFailureBlock
# def OAuthLoginDomain()
# # You can manually override and force your app to use
# # a sandbox by changing this to test.salesforce.com
# "login.salesforce.com"
# end
class InitialViewController < UIViewController
def initWithNibName(nibNameOrNil, bundle:nibBundleOrNil)
super.initWithNibName(nibNameOrNil, bundle:nibBundleOrNil)
p "Inside InitialViewController"
if self
# Custom init code goes here
end
self
end
/*
Copyright (c) 2011, salesforce.com, inc. All rights reserved.
Redistribution and use of this software in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this list of conditions
and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice, this list of
conditions and the following disclaimer in the documentation and/or other materials provided
with the distribution.