私は Breezejs を縮小するときに問題に直面しています:
Error : Cannot get property « Validator » of a null reference
(that's not the exact message but a translation of the original.)
これは、breeze.Validator を呼び出そうとしたときに発生します。つまり、breeze は未定義です。
現在、アプリケーション内の他のすべてのスクリプトと共にファイル Breeze.debug.js を縮小するために、ASP.NET MVC バンドル メカニズムに依存しています。
ただし、breeze.debug.js を使用する代わりに、breeze チームが提供するbreeze.min.js を使用すると、問題なく動作します。
この問題の原因は何ですか?