Skip to content

Commit

Permalink
Release 0.1 (for sjs 0.6.0-RC1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jokade committed Jan 18, 2015
1 parent f25c071 commit b206779
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import SonatypeKeys._

lazy val commonSettings = Seq(
organization := "biz.enef",
version := "0.1-SNAPSHOT",
version := "0.1",
scalaVersion := "2.11.5",
scalacOptions ++= Seq("-deprecation","-feature","-Xlint"),
// work around for a bug during publishing
Expand Down
7 changes: 7 additions & 0 deletions src/main/scala/biz/enef/angular/Directive.scala
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ import scala.scalajs.js
trait Directive {
def restrict: String = ???

def transclude: Boolean = ???

def priority: Int = ???

//def controller[T<:Scope](scope: T, elem: JQLite, attrs: Attributes) : Unit = ???

//def controller(scope: js.Dynamic, elem: JQLite, attrs: Attributes) : Unit = ???
Expand All @@ -32,4 +36,7 @@ trait Directive {
def isolateScope: js.Dictionary[String] = ???

def postLink(scope: Scope, element: JQLite, attrs: Attributes, controller: js.Dynamic) : Unit = ???
//def preLink(scope: Scope, element: JQLite, attrs: Attributes, controller: js.Dynamic) : Unit = ???

def compile(tElement: js.Dynamic, tAttrs: Attributes) : js.Any = ???
}
13 changes: 13 additions & 0 deletions src/main/scala/biz/enef/angular/core/Compile.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// - Project: scalajs-angulate (https://github.com/jokade/scalajs-angulate)
// Description: Binding to the AngularJS $compile function
//
// Copyright (c) 2015 Johannes Kastner <jokade@karchedon.de>
// Distributed under the MIT License (see included file LICENSE)
package biz.enef.angular.core

import scala.scalajs.js

trait Compile extends js.Object {

def apply(element: js.Any) : js.Function3[js.Any,js.Any,js.Any,js.Any] = js.native
}

0 comments on commit b206779

Please sign in to comment.