AngularJS and Breeze for IE8
http://www.breezejs.com/
HTML
<script src="http://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.0.3/es5-shim.js"></script>
<script src="https://code.angularjs.org/1.2.22/angular.js"></script>
<script src="https://rawgithub.com/Breeze/breeze.js.labs/master/breeze.angular.js"></script>
<script src="https://cdn.rawgit.com/JohannesHoppe/72d7916aeb08897bd256/raw/37d7ae8b4bf3386f9ff2a2d8122b8c2850303b2f/breeze.modelLibrary.noTrackingBackingStore.js"></script>
<div ng-controller="MyCtrl">
This AngularJS + Breeze Demo works in IE8:
<span ng-repeat="todo in todos" ng-bind="todo.Description"></span>
</div>
JavaScript
/*
* Copyright 2012-2016 IdeaBlade, Inc. All Rights Reserved.
* Use, reproduction, distribution, and modification of this code is subject to the terms and
* conditions of the IdeaBlade Breeze license, available at http://www.breezejs.com/license
*
* Author: Jay Traband
*/
(function (global, definition) {
var def = function(){ return definition(global); };
// CommonJS
if (typeof exports === "object" && typeof module === "object") {
module.exports = def();
// RequireJS
} else if (typeof define === "function" && define["amd"]) {
define(def);
// <script>
} else {
breeze = def();
}
})(this, function (global) {
"use strict";
var breeze = {
version: "1.6.3",
metadataVersion: "1.0.5"
};
;/**
@module core
**/
var __hasOwnProperty = uncurry(Object.prototype.hasOwnProperty);
var __arraySlice = uncurry(Array.prototype.slice);
var __isES5Supported = function () {
try {
return !!(Object.getPrototypeOf && Object.defineProperty({}, 'x', {}));
} catch (e) {
return false;
}
}();
// iterate over object
function __objectForEach(obj, kvFn) {
for (var key in obj) {
if (__hasOwnProperty(obj, key)) {
kvFn(key, obj[key]);
}
}
}
function __objectMap(obj, kvFn) {
var results = [];
for (var key in obj) {
if (__hasOwnProperty(obj, key)) {
var result = kvFn ? kvFn(key, obj[key]) : obj[key];
if (result !== undefined) {
results.push(result);
}
}
}
return results;
}
function __objectFirst(obj, kvPredicate) {
for (var key in obj) {
if (__hasOwnProperty(obj, key)) {
var value = obj[key];
if (kvPredicate(key, value)) {
return { key: key, value: value };
}
}
}
return null;
}
function __isSettable(entity, propertyName) {
var pd = __getPropDescriptor(entity, propertyName);
if (pd == null) return true;
return !!(pd.writable || pd.set);
}
function...