Skip to content

Instantly share code, notes, and snippets.

View wald-tq's full-sized avatar
⚔️

wald-tq

⚔️
  • TQ-Systems GmbH
  • Munich, Germany
View GitHub Profile
@wald-tq
wald-tq / aa.formExternalConfiguration.js
Last active August 29, 2015 14:24
my version of aa.formExternalConfiguration.js to implement support for hierarchical viewmodels
/*globals angular */
(function () {
// see: http://stackoverflow.com/a/6491621/605586
Object.byString = function (o, s) {
s = s.replace(/\[(\w+)\]/g, '.$1'); // convert indexes to properties
s = s.replace(/^\./, ''); // strip a leading dot
var a = s.split('.');
for (var i = 0, n = a.length; i < n; ++i) {
using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Runtime.Serialization;
using System.Threading.Tasks;
using System.Web;