Skip to content

Commit

Permalink
update to 4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
odoe committed Mar 4, 2017
1 parent f9bf444 commit bb95a74
Show file tree
Hide file tree
Showing 2,148 changed files with 13,333 additions and 7,832 deletions.
4 changes: 2 additions & 2 deletions Basemap.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Camera.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// COPYRIGHT © 2016 Esri
// COPYRIGHT © 2017 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
Expand All @@ -22,4 +22,4 @@
//
// See http://js.arcgis.com/4.2/esri/copyright.txt for details.

define(["require","exports","./core/tsSupport/declareExtendsHelper","./core/tsSupport/decorateHelper","./core/JSONSupport","./core/lang","./geometry/Point","./views/3d/support/mathUtils","./core/accessorSupport/decorators"],function(t,o,i,e,r,n,p,s,a){var l=function(t){function o(o){t.call(this),this.position=null,this.heading=0,this.tilt=0,this.fov=55}return i(o,t),o.prototype.getDefaults=function(t){return t.position?void 0:{position:new p([0,0,0])}},o.prototype.normalizeCtorArgs=function(t,o,i,e){var r=t&&"object"==typeof t&&("x"in t||Array.isArray(t));if(r){var n={position:t};return null!=o&&(n.heading=o),null!=i&&(n.tilt=i),null!=e&&(n.fov=e),n}return t},o.prototype.equals=function(t){return t?this.tilt===t.tilt&&this.heading===t.heading&&this.fov===t.fov&&this.position.equals(t.position):!1},o.prototype.clone=function(){return new o({position:this.position.clone(),heading:this.heading,tilt:this.tilt,fov:this.fov})},o.prototype.toJSON=function(){var t={position:this.position.toJSON(),heading:this.heading,tilt:this.tilt};return n.fixJson(t)},e([a.property({type:p})],o.prototype,"position",void 0),e([a.property(),a.cast(s.cyclicalDeg.normalize)],o.prototype,"heading",void 0),e([a.property(),a.cast(function(t){return s.clamp(t,-180,180)})],o.prototype,"tilt",void 0),e([a.property({json:{readable:!1,writable:!1}})],o.prototype,"fov",void 0),o=e([a.subclass("esri.Camera")],o)}(a.declared(r));return l});
define(["require","exports","./core/tsSupport/declareExtendsHelper","./core/tsSupport/decorateHelper","./core/JSONSupport","./core/lang","./geometry/Point","./views/3d/support/mathUtils","./core/accessorSupport/decorators"],function(t,o,i,r,e,n,p,s,a){var l=u=function(t){function o(o){var i=t.call(this)||this;return i.position=null,i.heading=0,i.tilt=0,i.fov=55,i}return i(o,t),o.prototype.getDefaults=function(t){return t.position?void 0:{position:new p([0,0,0])}},o.prototype.normalizeCtorArgs=function(t,o,i,r){var e=t&&"object"==typeof t&&("x"in t||Array.isArray(t));if(e){var n={position:t};return null!=o&&(n.heading=o),null!=i&&(n.tilt=i),null!=r&&(n.fov=r),n}return t},o.prototype.equals=function(t){return t?this.tilt===t.tilt&&this.heading===t.heading&&this.fov===t.fov&&this.position.equals(t.position):!1},o.prototype.clone=function(){return new u({position:this.position.clone(),heading:this.heading,tilt:this.tilt,fov:this.fov})},o.prototype.toJSON=function(){var t={position:this.position.toJSON(),heading:this.heading,tilt:this.tilt};return n.fixJson(t)},o}(a.declared(e));r([a.property({type:p})],l.prototype,"position",void 0),r([a.property(),a.cast(s.cyclicalDeg.normalize)],l.prototype,"heading",void 0),r([a.property(),a.cast(function(t){return s.clamp(t,-180,180)})],l.prototype,"tilt",void 0),r([a.property({json:{read:!1,write:!1}})],l.prototype,"fov",void 0),l=u=r([a.subclass("esri.Camera")],l);var u;return l});
4 changes: 2 additions & 2 deletions Color.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// COPYRIGHT © 2016 Esri
// COPYRIGHT © 2017 Esri
//
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
Expand All @@ -22,4 +22,4 @@
//
// See http://js.arcgis.com/4.2/esri/copyright.txt for details.

define(["./core/declare","dojo/colors"],function(r,n){var o=r([n],{declaredClass:"esri.Color",toJSON:function(){return[this.r,this.g,this.b,this.a>1?this.a:Math.round(255*this.a)]},clone:function(){return new o(this.toRgba())}});o.toJSON=function(r){return r&&[r.r,r.g,r.b,r.a>1?r.a:Math.round(255*r.a)]},o.fromJSON=function(r){return r&&new o([r[0],r[1],r[2],r[3]/255])},o.toUnitRGB=function(r){return[r.r/255,r.g/255,r.b/255]};var t,e=["named","blendColors","fromRgb","fromHex","fromArray","fromString"];for(t=0;t<e.length;t++)o[e[t]]=n[e[t]];return o.named.rebeccapurple=[102,51,153],o});
define(["./core/declare","dojo/colors"],function(r,n){var t=r([n],{declaredClass:"esri.Color",toJSON:function(){return[this.r,this.g,this.b,this.a>1?this.a:Math.round(255*this.a)]},clone:function(){return new t(this.toRgba())}});t.toJSON=function(r){return r&&[r.r,r.g,r.b,r.a>1?r.a:Math.round(255*r.a)]},t.fromJSON=function(r){return r&&new t([r[0],r[1],r[2],r[3]/255])},t.toUnitRGB=function(r){return[r.r/255,r.g/255,r.b/255]},t.toUnitRGBA=function(r){return[r.r/255,r.g/255,r.b/255,r.a||1]};var o,e=["named","blendColors","fromRgb","fromHex","fromArray","fromString"];for(o=0;o<e.length;o++)t[e[o]]=n[e[o]];return t.named.rebeccapurple=[102,51,153],t});
Loading

0 comments on commit bb95a74

Please sign in to comment.