2014-02-19 29 views
0

我有这个js文件在一台计算机上正确加载,而在另一台计算机上它显示如下,大量的斜杠。我完全不知道发生了什么。Js文件在两台开发计算机中的加载方式不同

任何人都可以帮忙吗?

// define angular module/app 
//var angularticsGf = angular.module('angularticsGf', ['angulartics', 'angulartics.abc']); 

var marlogApp = angular.module('abc', []); 

function waypointController($scope, $http) { 

    $scope.shipper_id = ''; 
    $scope.delivery_control_id = ''; 

    $scope.load_delivery_controls = function() { 

     alert('trigger'); 
//  if ($scope.populate != true) {   
//   $scope.size = null; 
//  } 
//  $scope.sizes = []; 
//   
//  if ($scope.geography != null && $scope.brand != null && $scope.fit != null) {   
//   $http({ 
//     method: 'GET', 
//     url: base_url + 'api/sizes', 
//     params: { 
//      geography : $scope.geography, 
//      brand : $scope.brand, 
//      fit : $scope.fit 
// 

回答

3

我从来没有想过我会在Stackoverflow上说这个,但是......清除缓存。看起来有人正在测试某些东西,并将其缓存在一台计算机上。

相关问题