{"action":"created","comment":{"url":"https://api.github.com/repos/google/dart-scissors/pulls/comments/47897522","id":47897522,"diff_hunk":"@@ -125,6 +129,32 @@ The last \"unscoped\" strategy means there's no file- or\n component-local way of deciding if a style *could* be used elsewhere. You should\n not use sCiSSors on packages / projects with that strategy.\n \n+## Using `scissors/cssmirroring_transformer`\n+\n+Required: Css janus.\n+          Run the following command in shell:\n+            mkdir -p $HOME/bin && svn checkout http://cssjanus.googlecode.com/svn/trunk/ $HOME/bin && export PATH=$HOME/bin/cssjanus:$PATH\n+\n+Example: see [example/mirroring](https://github.com/google/dart-scissors/tree/master/example/mirroring).\n+\n+`pubspec.yaml`:\n+\n+  ```\n+  dev_dependencies:\n+    scissors\n+  transformers:\n+  - scissors/cssmirroring_transformer\n+  ```\n+\n+Valid settings:\n+- `mirrorCss`: `true` by default in release mode and false by default in debug mode.\n+- `cssDirection` `ltr` by default in debug and release mode.\n+- `cssJanusPath`: `cssJanus` by default.\n+\n+###Limitations\n+ - Works only on css files. Pre-processors like sass and less are not supported. \n+ - Does not handle directives like KeyFrames and page.","path":"README.md","position":39,"original_position":39,"commit_id":"f3bc2aa62413fe4ca1103bc8bf5559f35ab349f6","original_commit_id":"f3bc2aa62413fe4ca1103bc8bf5559f35ab349f6","user":{"login":"ochafik","id":273860,"avatar_url":"https://avatars.githubusercontent.com/u/273860?v=3","gravatar_id":"","url":"https://api.github.com/users/ochafik","html_url":"https://github.com/ochafik","followers_url":"https://api.github.com/users/ochafik/followers","following_url":"https://api.github.com/users/ochafik/following{/other_user}","gists_url":"https://api.github.com/users/ochafik/gists{/gist_id}","starred_url":"https://api.github.com/users/ochafik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ochafik/subscriptions","organizations_url":"https://api.github.com/users/ochafik/orgs","repos_url":"https://api.github.com/users/ochafik/repos","events_url":"https://api.github.com/users/ochafik/events{/privacy}","received_events_url":"https://api.github.com/users/ochafik/received_events","type":"User","site_admin":false},"body":"links to spec please, and/or syntax snippets (e.g. `@keyframe`, '@page'), as `page` alone won't ring many bells","created_at":"2015-12-17T11:54:57Z","updated_at":"2015-12-17T11:54:57Z","html_url":"https://github.com/google/dart-scissors/pull/20#discussion_r47897522","pull_request_url":"https://api.github.com/repos/google/dart-scissors/pulls/20","_links":{"self":{"href":"https://api.github.com/repos/google/dart-scissors/pulls/comments/47897522"},"html":{"href":"https://github.com/google/dart-scissors/pull/20#discussion_r47897522"},"pull_request":{"href":"https://api.github.com/repos/google/dart-scissors/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/google/dart-scissors/pulls/20","id":53860436,"html_url":"https://github.com/google/dart-scissors/pull/20","diff_url":"https://github.com/google/dart-scissors/pull/20.diff","patch_url":"https://github.com/google/dart-scissors/pull/20.patch","issue_url":"https://api.github.com/repos/google/dart-scissors/issues/20","number":20,"state":"open","locked":false,"title":"Css mirroring monam","user":{"login":"MonamAgarwal","id":3458531,"avatar_url":"https://avatars.githubusercontent.com/u/3458531?v=3","gravatar_id":"","url":"https://api.github.com/users/MonamAgarwal","html_url":"https://github.com/MonamAgarwal","followers_url":"https://api.github.com/users/MonamAgarwal/followers","following_url":"https://api.github.com/users/MonamAgarwal/following{/other_user}","gists_url":"https://api.github.com/users/MonamAgarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/MonamAgarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MonamAgarwal/subscriptions","organizations_url":"https://api.github.com/users/MonamAgarwal/orgs","repos_url":"https://api.github.com/users/MonamAgarwal/repos","events_url":"https://api.github.com/users/MonamAgarwal/events{/privacy}","received_events_url":"https://api.github.com/users/MonamAgarwal/received_events","type":"User","site_admin":false},"body":"Added feature to implement rtl mirroring.","created_at":"2015-12-16T16:02:24Z","updated_at":"2015-12-17T11:54:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1980fb51f33f43f6a83b52a007dce4ac50c83730","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/dart-scissors/pulls/20/commits","review_comments_url":"https://api.github.com/repos/google/dart-scissors/pulls/20/comments","review_comment_url":"https://api.github.com/repos/google/dart-scissors/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/dart-scissors/issues/20/comments","statuses_url":"https://api.github.com/repos/google/dart-scissors/statuses/f3bc2aa62413fe4ca1103bc8bf5559f35ab349f6","head":{"label":"google:css-mirroring-monam","ref":"css-mirroring-monam","sha":"f3bc2aa62413fe4ca1103bc8bf5559f35ab349f6","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":44536387,"name":"dart-scissors","full_name":"google/dart-scissors","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/dart-scissors","description":"sCiSSors: CSS pruner, Sass runner, image optimizer for Angular(1,2) Dart apps (+ locale permutations & auto-reload).","fork":false,"url":"https://api.github.com/repos/google/dart-scissors","forks_url":"https://api.github.com/repos/google/dart-scissors/forks","keys_url":"https://api.github.com/repos/google/dart-scissors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/dart-scissors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/dart-scissors/teams","hooks_url":"https://api.github.com/repos/google/dart-scissors/hooks","issue_events_url":"https://api.github.com/repos/google/dart-scissors/issues/events{/number}","events_url":"https://api.github.com/repos/google/dart-scissors/events","assignees_url":"https://api.github.com/repos/google/dart-scissors/assignees{/user}","branches_url":"https://api.github.com/repos/google/dart-scissors/branches{/branch}","tags_url":"https://api.github.com/repos/google/dart-scissors/tags","blobs_url":"https://api.github.com/repos/google/dart-scissors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/dart-scissors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/dart-scissors/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/dart-scissors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/dart-scissors/statuses/{sha}","languages_url":"https://api.github.com/repos/google/dart-scissors/languages","stargazers_url":"https://api.github.com/repos/google/dart-scissors/stargazers","contributors_url":"https://api.github.com/repos/google/dart-scissors/contributors","subscribers_url":"https://api.github.com/repos/google/dart-scissors/subscribers","subscription_url":"https://api.github.com/repos/google/dart-scissors/subscription","commits_url":"https://api.github.com/repos/google/dart-scissors/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/dart-scissors/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/dart-scissors/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/dart-scissors/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/dart-scissors/contents/{+path}","compare_url":"https://api.github.com/repos/google/dart-scissors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/dart-scissors/merges","archive_url":"https://api.github.com/repos/google/dart-scissors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/dart-scissors/downloads","issues_url":"https://api.github.com/repos/google/dart-scissors/issues{/number}","pulls_url":"https://api.github.com/repos/google/dart-scissors/pulls{/number}","milestones_url":"https://api.github.com/repos/google/dart-scissors/milestones{/number}","notifications_url":"https://api.github.com/repos/google/dart-scissors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/dart-scissors/labels{/name}","releases_url":"https://api.github.com/repos/google/dart-scissors/releases{/id}","created_at":"2015-10-19T13:24:15Z","updated_at":"2015-11-25T03:19:58Z","pushed_at":"2015-12-16T18:04:40Z","git_url":"git://github.com/google/dart-scissors.git","ssh_url":"git@github.com:google/dart-scissors.git","clone_url":"https://github.com/google/dart-scissors.git","svn_url":"https://github.com/google/dart-scissors","homepage":"https://pub.dartlang.org/packages/scissors","size":460,"stargazers_count":5,"watchers_count":5,"language":"Dart","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":14,"forks":1,"open_issues":14,"watchers":5,"default_branch":"master"}},"base":{"label":"google:master","ref":"master","sha":"63580905f4500ab444e42c50d6bc25481bb59e8e","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":44536387,"name":"dart-scissors","full_name":"google/dart-scissors","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/dart-scissors","description":"sCiSSors: CSS pruner, Sass runner, image optimizer for Angular(1,2) Dart apps (+ locale permutations & auto-reload).","fork":false,"url":"https://api.github.com/repos/google/dart-scissors","forks_url":"https://api.github.com/repos/google/dart-scissors/forks","keys_url":"https://api.github.com/repos/google/dart-scissors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/dart-scissors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/dart-scissors/teams","hooks_url":"https://api.github.com/repos/google/dart-scissors/hooks","issue_events_url":"https://api.github.com/repos/google/dart-scissors/issues/events{/number}","events_url":"https://api.github.com/repos/google/dart-scissors/events","assignees_url":"https://api.github.com/repos/google/dart-scissors/assignees{/user}","branches_url":"https://api.github.com/repos/google/dart-scissors/branches{/branch}","tags_url":"https://api.github.com/repos/google/dart-scissors/tags","blobs_url":"https://api.github.com/repos/google/dart-scissors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/dart-scissors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/dart-scissors/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/dart-scissors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/dart-scissors/statuses/{sha}","languages_url":"https://api.github.com/repos/google/dart-scissors/languages","stargazers_url":"https://api.github.com/repos/google/dart-scissors/stargazers","contributors_url":"https://api.github.com/repos/google/dart-scissors/contributors","subscribers_url":"https://api.github.com/repos/google/dart-scissors/subscribers","subscription_url":"https://api.github.com/repos/google/dart-scissors/subscription","commits_url":"https://api.github.com/repos/google/dart-scissors/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/dart-scissors/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/dart-scissors/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/dart-scissors/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/dart-scissors/contents/{+path}","compare_url":"https://api.github.com/repos/google/dart-scissors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/dart-scissors/merges","archive_url":"https://api.github.com/repos/google/dart-scissors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/dart-scissors/downloads","issues_url":"https://api.github.com/repos/google/dart-scissors/issues{/number}","pulls_url":"https://api.github.com/repos/google/dart-scissors/pulls{/number}","milestones_url":"https://api.github.com/repos/google/dart-scissors/milestones{/number}","notifications_url":"https://api.github.com/repos/google/dart-scissors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/dart-scissors/labels{/name}","releases_url":"https://api.github.com/repos/google/dart-scissors/releases{/id}","created_at":"2015-10-19T13:24:15Z","updated_at":"2015-11-25T03:19:58Z","pushed_at":"2015-12-16T18:04:40Z","git_url":"git://github.com/google/dart-scissors.git","ssh_url":"git@github.com:google/dart-scissors.git","clone_url":"https://github.com/google/dart-scissors.git","svn_url":"https://github.com/google/dart-scissors","homepage":"https://pub.dartlang.org/packages/scissors","size":460,"stargazers_count":5,"watchers_count":5,"language":"Dart","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":14,"forks":1,"open_issues":14,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/dart-scissors/pulls/20"},"html":{"href":"https://github.com/google/dart-scissors/pull/20"},"issue":{"href":"https://api.github.com/repos/google/dart-scissors/issues/20"},"comments":{"href":"https://api.github.com/repos/google/dart-scissors/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/google/dart-scissors/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/google/dart-scissors/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/dart-scissors/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/google/dart-scissors/statuses/f3bc2aa62413fe4ca1103bc8bf5559f35ab349f6"}}}}