Skip to content

Dependency Injector尝试采用数组形式 #8

@Hosuke

Description

@Hosuke

在使用uglify的时候,他会把function checkInCtrl ($scope, $rootScope, $location, $http){
}的申明变为类似于function checkInCtrl(a,b,c,d){
},这样注入会有问题。所以需要采用数组注入,才能让他正确的对应

潜在问题:grunt以后自动化打包压缩script会因为打乱文件压缩顺序出问题, 比如依赖jquery的js文件在jquery文件加入合并之前就已经自动了

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions