heidsoft

Results 289 comments of heidsoft

> 在使用压缩配置如下: mangle: { except: ['$super', '$', 'exports', 'require', 'angular'], keep_fnames: true//it works } 仍旧出现一段错误: angular.js:13920 Error: [$injector:unpr] Unknown provider: eProvider

@giscafer 谢谢,我试试

@giscafer 比如我想买依赖类似 > amcharts angular angular-animate angular-breadcrumb angular-cookies angular-file-upload angular-legacy-sortablejs angular-resource angular-route angular-touch angular-ui-bootstrap angular-ui-grid angular-ui-tree bootbox bootstrap bootstrap-datetimepicker bootstrap-hover-dropdown bootstrap-table bootstrap-treeview bootstrapValidator 这么多第三方库,有些不是npm安装的,是直接拷贝过来的,那怎么用webpack打包,有什么好方法?

@giscafer 嗯,你的这些组件是支持commonjs规范的,但是我用的一些js有些没有,比如,bootstrap-table中定义的table指令模块,这时,我用es6 import也是无用的,不知道有什么解决方法 > (function () { if (typeof angular === 'undefined') { return; } angular.module('bsTable', []) .constant('uiBsTables', {bsTables: {}}) .directive('bsTableControl', ['uiBsTables', function (uiBsTables) { var CONTAINER_SELECTOR = '.bootstrap-table'; var...

https://docs.seldon.io/projects/seldon-core/en/v1.1.0/index.html https://www.kubeflow.org/docs/components/serving/bentoml/ https://www.kubeflow.org/docs/about/kubeflow/ https://docs.bentoml.org/en/latest/frameworks.html#xgboost https://opendatahub.io/docs/kubeflow/installation.html https://www.kubeflow.org/docs/about/kubeflow/

https://mlflow.org/docs/latest/tracking.html https://zhuanlan.zhihu.com/p/57639703 https://cloud.tencent.com/developer/article/1692441 https://prometheus.io/docs/concepts/data_model/#samples https://en.wikipedia.org/wiki/Time_series https://prometheus.io/docs/concepts/jobs_instances/ https://github.com/AICoE/prometheus-data-science https://github.com/AICoE https://github.com/AICoE/prometheus-data-science/blob/master/metadata_analysis/graph_metadata.py https://github.com/durandom/DataScience-on-Prometheus-Metrics#forcasting https://www.tensorflow.org/io/tutorials/prometheus https://next.redhat.com/2019/11/18/prometheus-anomaly-detection/ https://github.com/mlflow/mlflow/ https://thoth-station.ninja/ https://next.redhat.com/category/ai-machine-learning/ https://github.com/AICoE/prometheus-anomaly-detector https://mlflow.org/docs/latest/quickstart.html#installing-mlflow

http://bubkoo.com/2014/01/01/angular/ui-router/guide/multiple-named-views/

``` 当您需要使用多视图时,需要用到状态的views属性,views属性值是一个对象。 设置views属性将覆盖覆盖的template属性 如果在状态中定义了views属性,那么状态中的templateUrl、template 和 templateProvider属性将被忽略。 示例 - 名称匹配 views的属性key应该对应的ui-view的名称、像下面这样: $stateProvider .state('report', { views: { 'filters': { ... templates and/or controllers ... }, 'tabledata': {}, 'graph': {}, } }) 然后views中的每一个...

``` 编译三阶段: 1. 标准浏览器API转化 将html转化成dom,所以自定义的html标签必须符合html的格式 2. Angular compile 搜索匹配directive,按照priority排序,并执行directive上的compile方法 3. Angular link 执行directive上的link方法,进行scope绑定及事件绑定 为什么编译的过程要分成compile和link? 简单的说就是为了解决性能问题,特别是那种model变化会影响dom结构变化的,而变化的结构还会有新的scope绑定及事件绑定,比如ng-repeat compile和link的形式 compile function compile(element, attrs, transclude) { ... } 在compile阶段要执行的函数,返回的function就是link时要执行的function 常用参数为element和attrs,分别是dom元素和元素上的属性们,其它的以后细说 较少使用,因为大部分directive是处理dom元素的行为绑定,而不是改变它们 link function link(scope,...