aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng
diff options
context:
space:
mode:
authorIgor Minar2012-03-23 11:46:54 -0700
committerIgor Minar2012-03-23 11:46:54 -0700
commit5390fb37d2c01937922613fc57df4986af521787 (patch)
treea95b890336212fde26379270eeb85e0e5f301e6a /test/ng
parent8d7e6948496ff26ef1da8854ba02fcb8eebfed61 (diff)
downloadangular.js-5390fb37d2c01937922613fc57df4986af521787.tar.bz2
fix($compile): create new (isolate) scopes for directives on root elements
previously we would not create them and it's causing all kinds of issues and accidental leaks Closes #817
Diffstat (limited to 'test/ng')
0 files changed, 0 insertions, 0 deletions
/span> depends_on 'mpfr' end option 'debug', 'Build with debugging symbols enabled' depends_on 'boost' depends_on 'gmp' depends_on :python => :optional def install opoo "Homebrew: Sorry, python bindings for --HEAD seem not to install. Help us fixing this!" if build.with? 'python' # find Homebrew's libpcre ENV.append 'LDFLAGS', "-L#{HOMEBREW_PREFIX}/lib" if build.head? args = [((build.include? 'debug') ? 'debug' : 'opt'), "make", "-N", "-j#{ENV.make_jobs}", "--output=build"] if build.with? 'python' args << '--python' # acprep picks up system python because CMake is used inreplace 'acprep', "self.configure_args = []", "self.configure_args = ['-DPYTHON_INCLUDE_DIR=#{python.incdir}', '-DPYTHON_LIBRARY=#{python.libdir}/lib#{python.xy}.dylib']" end # Support homebrew not at /usr/local. Also support Xcode-only setups: inreplace 'acprep', 'search_prefixes = [', "search_prefixes = ['#{HOMEBREW_PREFIX}','#{MacOS.sdk_path}/usr'," system "./acprep", "--prefix=#{prefix}", *args system "cmake", "-P", "build/cmake_install.cmake", "-DUSE_PYTHON=ON" else args = [] if build.with? 'libofx' args << "--enable-ofx" # the libofx.h appears to have moved to a subdirectory ENV.append 'CXXFLAGS', "-I#{Formula.factory('libofx').opt_prefix}/include/libofx" end system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", *args system 'make' ENV.deparallelize system 'make install' end end end